• Resolved gluecklichezwerge

    (@gluecklichezwerge)


    Hello,

    although I’ve been using the same code for my Cookie notification for quite a while now, I had to realize issues on mobile devices today. It is not possible to accept cookie settings, because the last part of the message is covered under the mobile navigation menu.
    I already shortened the text, but this doesn’t seem to be the issue. A working solution would be to give the whole popup/banner a margin-bottom, but this would be a nasty one.
    Any other ideas? Your help is highly appreciated!

    Thanks a lot, best regards,
    -Bj?rn

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @gluecklichezwerge It looks like if you update #mbmcookie p.cookiemessage to have the padding like this padding: 9px 18% 0; it should help. This reduces the left and right padding so that the notice can display wider.

    Please note that this isn’t a notification from us, nor our CSS so we cannot continue to support it.

    Thread Starter gluecklichezwerge

    (@gluecklichezwerge)

    Hi Jesse,

    thanks for your reply. Unfortunately the result is still the same. This is due to the responsive layout. As soon as the defined screen size is given the cart-content will be displayed in the footer (footer-cart-content). You can easily check this by resizing your browser window manually.
    For now I am bypassing this with the following CSS code:

    @media (max-width: 768px) {
        #mbmcookie {
            margin-bottom: 12%;
        }
    }

    If you have a better option, I would be pleased if you’d let me know about it. ??

    Best regards,
    -Bj?rn

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @gluecklichezwerge The footer bar in Storefront is 68px tall. If you are wanting to have the notice appear above it, you should set the margin-bottom to that.

    Thread Starter gluecklichezwerge

    (@gluecklichezwerge)

    Perfect! =)
    Thank you very much, Jesse! That made it!

    Best regards,
    -Bj?rn

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie Notification Issue’ is closed to new replies.