• Resolved ronny84

    (@ronny84)


    Hi,

    I have an problem with the Accept Button on mobile. On my smartphone the button is there, but is overlayed by the border (not shown 100%).

    On Googles Pagespeed Insight Test the button is not shown on the screenshot (Not overlayed, not shown).

    Any Issues for that?

    Kind Regards

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same issue
    IMG-1760

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @ronny84

    Thanks for reporting this.

    We will look into it and provide an update soon.

    Hope this helps.

    Thread Starter ronny84

    (@ronny84)

    @mooveagency

    I noticed when shortening the text in the banner, the button now is fine. Seems to be a problem with the hight of the container?

    Kind Regards

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @ronny84

    Yes that’s correct, the size of text was an issue.

    This will be fixed in the next update of the plugin.

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @handmadehome

    Your problem is different.

    Our cookie banner is behind the cart button because your cart buttons container has a higher z-index than our banner.

    This is user specific (related to storefront theme), you can add the following code snippet to functions.php to fix the CSS conflict:

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension_zindex',10,3);
    function gdpr_cookie_css_extension_zindex( $styles, $primary, $secondary ) {
      $styles .= 'body.gdpr-infobar-visible .storefront-handheld-footer-bar { z-index: 999; }';
      return $styles;
    }

    The code snippet above will overlap the mobile bottom action buttons.

    If you need both GDPR and buttons visible, you can add the following instead of the first one (but it covers more space on mobile):

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension_zindex',10,3);
    function gdpr_cookie_css_extension_zindex( $styles, $primary, $secondary ) {
      $styles .= '@media (max-width: 767px) { body.gdpr-infobar-visible #moove_gdpr_cookie_info_bar { bottom: 69px; } }';
      return $styles;
    }

    In the future, we would appreciate if you can please create new ticket for your issue (but not duplicates of the same issue on several forums).

    Thanks

    Thank you so much @mooveagency !

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @ronny84

    Your issue was caused by the banner height which has a hard limit of 400pixels. If you still need to display more text in the banner, you can increase the 400pixel CSS rule by adding the following code snippet to functions.php

    add_action('moove_gdpr_inline_styles', 'gdpr_inline_styles_extension_mobile_banner_height');
    function gdpr_inline_styles_extension_mobile_banner_height( $styles ) {
        ob_start();
        ?>
        @media (max-width: 768px) {
          body.gdpr-infobar-visible #moove_gdpr_cookie_info_bar {
               max-height: 100vh;
          }
    
          #moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden {
              bottom: 100vh;
          }
        }
        <?php
        $styles .= ob_get_clean();
        return $styles;
    }

    Hope this helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Button on mobile not full displayed’ is closed to new replies.