Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same issue. This happened on two different themes. Anyone find a fix?

    Thread Starter DSBBB

    (@dsbbb)

    I ultimately fixed the problem though it is only a temporary fix and it may break again when a new update comes out. But here is what I did.

    I went in with a FTP connection and change the name of the style sheet to popstyle.css

    I then went into the displet-pop.php and changed the following lines:

    function displetpop_scripts() {
    wp_enqueue_script(‘jquery’);
    wp_register_script( ‘jquery-cookie’, plugins_url(‘jquery.cookie.js’, __FILE__) );
    wp_enqueue_script( ‘jquery-cookie’, array(‘jquery’) );
    wp_register_style( ‘style’, plugins_url(‘style.css’, __FILE__) );
    wp_enqueue_style( ‘style’ );

    To

    function displetpop_scripts() {
    wp_enqueue_script(‘jquery’);
    wp_register_script( ‘jquery-cookie’, plugins_url(‘jquery.cookie.js’, __FILE__) );
    wp_enqueue_script( ‘jquery-cookie’, array(‘jquery’) );
    wp_register_style( ‘popstyle’, plugins_url(‘popstyle.css’, __FILE__) );
    wp_enqueue_style( ‘popstyle’ );

    That removed the conflict and fixed the issue.

    Thanks for that. I also found a work-around. It’s not the most ideal solution, but it works.

    I just copied the code from the theme’s CSS file and pasted it into the top of the plugin’s css file.

    It’s not pretty but it did work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS Conflict’ is closed to new replies.