Tagged: mobile, shopping cart
-
AuthorPosts
-
August 17, 2020 at 9:00 pm #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,
JeffAugust 19, 2020 at 7:40 am #1239033Hey 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,
RikardAugust 19, 2020 at 6:31 pm #1239245Hi @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,
JeffAugust 20, 2020 at 5:29 am #1239408Hi,
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 ShannonAugust 24, 2020 at 9:01 pm #1240518August 26, 2020 at 5:03 am #1240821Hi 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,
RikardAugust 26, 2020 at 6:54 pm #1240997Hi @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,
JeffAugust 26, 2020 at 11:24 pm #1241022Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Shopping cart button not working in mobile’ is closed to new replies.
