Skip to content

Instantly share code, notes, and snippets.

@intelliweb
Created March 14, 2013 19:32
Show Gist options
  • Save intelliweb/5164439 to your computer and use it in GitHub Desktop.
Save intelliweb/5164439 to your computer and use it in GitHub Desktop.
Builder: Add custom CSS class names to Builder modules
<?php
// Custom Builder module CSS classes for styling
if ( ! function_exists( 'it_builder_loaded' ) ) {
add_action( 'it_libraries_loaded', 'it_builder_loaded' );
function it_builder_loaded() {
builder_register_module_style( array('html','widget-bar','content'), 'Sample Style Name', 'sample-style-class' );
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment