Support » Plugin: GDPR Cookie Compliance » Position cookie bar

  • Resolved davidver


    I would like to reposition the cookie bar on mobile devices e.g. with a bottom of 60px. Is it possible to do so? I have tried:

    @media only screen and (max-width: 600px) {
    div.moove-gdpr-align-center.moove-gdpr-dark-scheme.gdpr_infobar_postion_bottom {
    bottom: 60px !important;

    But I probably have to do something in the functions.php

    • This topic was modified 4 weeks ago by davidver.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Moove Agency


    Hi @davidver,

    Thanks for using our plugins.

    You can try the following code snippet (should be added to functions.php):

    function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
      $styles .= '@media (max-width: 600px) {
    		#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom {
    			bottom: 60px;
    			border-top: 0;
    		#moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden {
    			bottom: -400px;
      return $styles;

    Hope this helps.

    Works perfectly! Thanks

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