Support » Plugin: Cookie Notice & Compliance for GDPR / CCPA » Display top block instead overlay

  • senzesmedia

    (@senzesmedia)


    Hello,

    Is it possible to display the top cookie notice so it that pushes down the existing page content instead of displaying it as overlay on the existing page content?

    Appreciate any help/tips how to accomplish this.

    Thanks!

    Marcellino

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dFactory

    (@dfactory)

    It’s possible to do with a bit of CSS.

    #cookie-notice {
    position: relative !important;
    }

    But it’s possible you will have to adjust the CSS a bit more depending on your theme.

    I tried with “Twenty Fifteen”, “Twenty Sixteen” and “Twenty Seventeen” but unfortunately it is not working.

    It would be great if that is an option in Cookie Notice configuration when position is set to “top”.

    Thread Starter senzesmedia

    (@senzesmedia)

    Hi,

    I also couldn’t get it to work as described (push down existing page content).

    Would be nice to have as option in the plugin.

    Thx

    Following CSS

    #cookie-notice {
    	position: absolute !important;
    }

    would keep notice bar in original position. But still it overlays website in z-axis. Instead we would love to have cookie notice above website on y-axis. So when accepting or refusing cookies, the notice bar disapprears and the whole website moves up.

    Please see http://eur-lex.europa.eu/ for this funtionality.

    Can this be done using CSS?
    The original Cookie Notice code is outputed as the last element of the <body>. It would be awesome if you could implement this function using php and make it an option in Cookie Notice configuration.

    Hi!

    I have the same question. Did anyone solve this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display top block instead overlay’ is closed to new replies.