Hi @wouterluyten,
Thanks for using our plugins.
You can add the following code snippet to your functions.php and should fix the header conflicts:
add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension',10,3);
function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
$styles .= '#main-header { z-index: 999; }';
$styles .= '#top-header { z-index: 1000 }';
$styles .= 'body.gdpr-infobar-visible #main-header { z-index: 99; }';
$styles .= 'body.gdpr-infobar-visible #top-header { z-index: 100; }';
$styles .= '.lity {z-index: 99999999;}';
return $styles;
}
I hope this helps.
Thanks
Thread Starter
dipke
(@wouterluyten)
Working perfectly, thanks!
Will you add this code automatically in a next release or should I keep it myself in the functions.php?
Hi @wouterluyten,
It was a quick fix for your custom theme setup, will not be included in the plugin, so you should keep it in your theme’s functions.php
Thanks again for using our plugins.