Created
March 14, 2013 19:32
-
-
Save intelliweb/5164439 to your computer and use it in GitHub Desktop.
Builder: Add custom CSS class names to Builder modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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