In ContentBuilder, themes are provided through plugins and can serve styles, javascript and sample codes (content & forms).
Currently ContentBuilder ships with 2 theme plugins, "khepri" and "blank" (which uses the class "blanktable_content").
If you want to create your very own theme (with own classes), you can create a custom theme plugin.
It is quite simple:
- Have a look at SITE/plugins/contentbuilder_themes/khepri/khepri.php
- Copy the khepri folder and change the name to whatever plugin name you like.
- Then rename the files inside "khepri.php" and "khepri.xml" to your plugin name.
- Edit your PLUGINNAME.php and replace "khepri" in the classname with your plugin name.
- Then edit the "khepri.xml" accordingly (name-tag and both values in filename-tag)
- Finally edit the html and css in your PLUGINNAME.php. You might like to to try the different places where you can add css and maybe javascript if necessary.
- Zip all files within that directory, install and enable it on your site and choose it in your view. From that point in it will create the sample from within your theme plugin.