By using’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor

    Join us!
elementor official

Question Skin for Custom Element



New Member

I have Controls_Manager :: SELECT, which "switches" block design presets.
It looks like:

    'options' => [
        '1' => __( 'Style 1', 'plugin' ),'2' => __( 'Style 2', 'plugin' ),'3' => __( 'Style 3', 'plugin' ),'6' => __( 'Style 6', 'plugin' ),],

The value is passed in $ params ['style']

include( plugin_dir_path( __FILE__ ) . '../templates/content-style-'.$params['style'].'.php' );

and thus switching presets.

For example, for Style 1 we set the blue background, then switch to Style 2.
The background of the block remains blue. How to reset it to default when switching "presets"?

Thinking it can be done with Skin_Base but I can't find any examples that can help to implement this.

Latest posts

Latest Resources

Other Elementor Resources

elementor official