Support » Plugin: GDPR Cookie Compliance » Popup is behind the header

  • Resolved cirioedina

    (@cirioedina)


    Hi,
    Great plugin!
    I just have a problem: the popup is behind my header/menu.
    4.1.5 version. The theme is Salient.
    Thank you yr help!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @cirioedina,

    Thanks for using our plugins.

    You can add the following code snippet to your functions.php

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension',10,3);
    function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
      $styles .= 'body #header-outer { z-index: 999 }';
      return $styles;
    }

    Hope this helps.

    Thank you!

    • This reply was modified 1 month, 2 weeks ago by cirioedina.

    Unfortunately it didn’t help 🙁

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @cirioedina,

    I see now the problem, please update the code snippet to the following:

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension',10,3);
    function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
      $styles .= 'html body.gdpr-infobar-visible #header-outer { z-index: 999 }';
      $styles .= 'html body.gdpr-infobar-visible #moove_gdpr_cookie_info_bar { z-index: 999 }';
      return $styles;
    }

    Thank you, but doesn’t work. The popup still goes behind the header.

    Plugin Author Moove Agency

    (@mooveagency)

    You have to purge all the caches on your site (server cache if exists, autoptimize, etc)

    Thank you, finally changing the theme css solved the problem.
    code:
    body #header-outer, #header-outer.highzI {
    z-index: 100!important;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.