Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1238618

    Hi Team,

    Right now I have a shopping cart button in the top right of my site on both desktop and mobile. However, the button is broken on mobile. It appears, but if you try to click on it nothing happens… I’m not sure why this is happening.

    Best,
    Jeff

    #1239033

    Hey Jeff,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    #menu-item-shop {
      z-index: 99;
    }
    }

    Best regards,
    Rikard

    #1239245

    Hi @rikard,

    Unfortunately, this did not solve the problem as the cart link is still broken on mobile. I forgot to mention above that the notifications for items in the cart do still show up on mobile. Not sure if that changes anything for you.

    Best,
    Jeff

    #1239408

    Hi,

    Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.

    Best regards,
    Jordan Shannon

    #1240518

    Hi @rikard and @Jordan Shannon.

    This seemed to help however on mobile in order to click on the shopping cart link you actually have to click below and right of the actual icon which is not ideal. Any reason this might be happening?

    Best,
    Jeff

    #1240821

    Hi Jeff,

    The CSS you added is not applying, please try this instead:

    @media only screen and (max-width: 767px) {
    #menu-item-shop {
      z-index: 99 !important;
    }
    }

    Also make sure that you clear the cache from your caching plugin.

    Best regards,
    Rikard

    #1240997

    Hi @rikard,

    This works perfectly. I’ll try to remember to add the !important next time something doesn’t work properly! Thank you for your help. This can be closed.

    Best,
    Jeff

    #1241022

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Shopping cart button not working in mobile’ is closed to new replies.