Carrington Build Documentation

Custom CSS

CSS inclusion, like JS inclusion, is separated in to distinct front end and admin methods. To add client side CSS create a `css()` method and return the necessary style declarations. To add Admin styling add an `admin_css()` method and return the necessary styling elements. An example of Admin CSS:

class my_build_module extends cfct_build_module {

	// ...

	public function admin_css() {
		$css = '
			#'.$this->get_field_id('my-element').' {
				width: 500px;
				color: red;

		return $css;

	// ...

See also:

Back to Carrington Build

These sections are available to the public. The remaining sections are available exclusively to customers.