Since version 2.5
To change styling options for the registered elements, please check
this article.
The new CSS system is a complete system can help normal users change any styling properties of the element at any screen size. To make it works, it needs a
master class.
This section only helps to display, please go to
CSS Field to know how to register CSS properties.
Create master class:
$master_class = apply_filters( 'kc-el-class', $atts );
Add master class to element:
$master_class = apply_filters( 'kc-el-class', $atts );
echo 'your element content
';
Example: wp-content/plugins/kingcomposer/shortcodes/kc_raw_code.php:
';
echo do_shortcode( $code );
echo '
';
?>