Skip to content

Deprecated since 7.2

This page documents the classic module layer (CBController and cbInit()). It still works in every 7.x release, but new code should use resources and pages.

Use instead: Panel::renderHook('head', ...), or the theme's CSS variables.

How To Put Your Own CSS Stylesheet ​

Open the module controller. Find $this->style_css in cbInit() method.

php
$this->style_css = "
  .some_class {
     color: yellow;
  }
";

or you can embed your own css url

php
$this->load_css[] = asset("your_own_css_file.css");

What's Next ​

Table Of Contents ​

Released under the MIT License.