Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,

    I’m sorry for this issue. It seems the plugins shares similar classes or styles as divi’s (elegant themes), tabs of sorts. To solve this issue follow this topic.

    Add this code to your functions.php file located in /wp-content/themes/Divi, at the end of the file. You can also find the file in Appearance > Editor > Theme Functions (functions.php)

    add_action( 'admin_enqueue_scripts', 'yith_admin_enqueue_scripts_divi_theme', 20 );
    function yith_admin_enqueue_scripts_divi_theme(){
        global $pagenow;
        if( 'admin.php' == $pagenow && ! empty( $_GET['page'] ) && 'et_divi_options' == $_GET['page'] ){
            $handles = array(
                'jquery-ui-overcast',
                'yit-plugin-metaboxes'
            );
            foreach( $handles as $handle ){
                wp_dequeue_style( $handle );
            }
        }
    }

    Let me know if this solution works for your website.

    Have a nice day
    YITH

    Thread Starter Gerard Blanco

    (@sixaxis)

    Hi,

    Thanks for your answer. I just added it to my functions.php, but it but it still doesn’t work, even if I clear cache.

    Could you re-check it, please?

    Thanks,

    Plugin Author YITHEMES

    (@yithemes)

    Hi,

    I checked it again and works fine for me.

    Are you sure you add it in correct file ?

    Have a nice day
    YITH

    Thread Starter Gerard Blanco

    (@sixaxis)

    Hi again,

    Yes, sorry, not working. But this time I found out something else. As soon as I disable the WooCommerce plugin, it starts working again. When I enable it, I get the CSS broken.

    Should I talk to WooCommerce support?

    Thanks,

    Plugin Author YITHEMES

    (@yithemes)

    Hi, yes probably you have a conflict with Woocommerce…this is a very strange issue.

    Let me know.

    Have a nice day

    YITH

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin breaking Divi’s CSS’ is closed to new replies.