Hello,
Our product pages on Shopify are swiping off the page on mobile.
https://www.drinknooma.com/products/organic-sport-energy-drinks
https://www.drinknooma.com/products/organic-sports-drinks
A Shopify store is experiencing a mobile layout issue where product pages shift horizontally off-screen when users swipe.
Affected Pages:
Proposed Solutions:
Two support teams (PageFly-Victor and GemPages) independently suggested nearly identical CSS fixes:
overflow-x: hidden !important to html/body elements@media screen and (max-width: 767px)Key Difference:
PageFly recommended placing the code before the closing </body> tag, while GemPages suggested placing it after </body>. The store owner questioned this discrepancy and confirmed the issue only affects mobile devices.
The discussion remains open as the effectiveness of either placement hasn’t been confirmed.
Hello,
Our product pages on Shopify are swiping off the page on mobile.
https://www.drinknooma.com/products/organic-sport-energy-drinks
https://www.drinknooma.com/products/organic-sports-drinks
HI @mattNOOMA
This is Victor from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: paste bellow code in tag → save.
@media screen and (max-width: 767px){ html, body { overflow-x: hidden! important; } }Hope that my solution works for you.
Best regards,
Victor | PageFly
Hello @mattNOOMA
It’s GemPages support team and glad to support you today.
You can follow these steps:
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Thank you! Is there a difference between what was posted above?
@media screen and (max-width: 767px){ html, body { overflow-x: hidden! important; } }AND
body{ overflow-x: hidden; }Our issue is mobile only.
You also said to post the code BEFORE /body, while the first poster said to post it AFTER /body.
Thank you!
Thank you!