Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: [Displet Pop] CSS Conflict
    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.

    Thread Starter DSBBB

    (@dsbbb)

    Thanks for the help! I didn’t set up my child theme correctly. But yes that worked. Would you mind posting here when the update with the fix is released so I can remove it?

    Thread Starter DSBBB

    (@dsbbb)

    Hi Hawkeye,

    I tried your fix and unfortunately it didn’t work. It seems to be a style written into the div in the HTML. The site is https://www.bbbhelp.com

Viewing 3 replies - 1 through 3 (of 3 total)