Module styling control: Box-Shadow

Box Shadow

Live Composer has a special control type – box shadow.

Box shadows options have been added to elements of several modules in Live Composer, version 1.0.2 ( button, HTML, text, content, info box ).

To use this option in your own modules simply set the type of the option to  box_shadow. If you are applying a default value to the option then use the usual order of parameters “horizontal vertical blur spread color inset”.

array(
	'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
	'id' => 'css_main_box_shadow',
	'std' => '',
	'type' => 'box_shadow',
	'refresh_on_change' => false,
	'affect_on_change_el' => '.dslc-text-module-content',
	'affect_on_change_rule' => 'box-shadow',
	'section' => 'styling',
),

Still need help? Contact Us Contact Us