Support Forum Support Forum GDPR Cookie Compliance GDRP Not showing on top

Topic Resolution: Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Avatarmichiels999
    March 23, 2020 @ 5:24 pm

    HI I love your plugin but i have a DONATE button on my site that blocks the GDPR section.
    I have set it to show on top but it does not. How can I have it come up on top instead of at the bottom of the page?

    Thank you,

    Eric Michiels

    Moove AgencyMoove Agency
    March 25, 2020 @ 7:40 am

    Hi Eric,

    Thanks for using our plugins.

    You can add the following code snippet to your functions.php to fix the overlap issue:

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension',10,3);
    function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
      $styles .= '.gdpr-infobar-visible #main-header { z-index: 99; }';
      $styles .= '.gdpr-infobar-visible #top-header { z-index: 99 }';
      return $styles;
    }

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.