• Resolved dipke

    (@wouterluyten)


    Hello, I’m using the Divi Theme. It seems that the popup with the settings is shown under the Divi header, causing the popup not to be completely visible. Any idea how I can fix this?

    Thanks in advance!

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

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

    (@mooveagency)

    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?

    Plugin Author Moove Agency

    (@mooveagency)

    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.

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

The topic ‘Problem with header in Divi Theme’ is closed to new replies.