/**
* Add classes to Builder modules
*
* Function name calling shouldn't be 'it_builder_loaded'
* in case parent theme is using it already.
*/
if ( ! function_exists( 'oz_builder_loaded' ) ) {
function oz_builder_loaded() {
// --> module label class
builder_register_module_style( 'content', 'Blue ', 'content-blue' );
builder_register_module_style( 'widget-bar', 'Blue (full width)', 'widget-bar-blue' );
builder_register_module_style( 'navigation', 'Subnav Blue', 'subnav-blue' );
builder_register_module_style( 'html', 'Blue Background', 'html-blue' );
builder_register_module_style( 'image', 'Blue Background (full width)', 'image-blue');
builder_register_module_style( 'header', 'White Header', 'header-white');
builder_register_module_style( 'footer', 'White Footer', 'footer-white');
}
add_action( 'it_libraries_loaded', 'oz_builder_loaded' );
}