Issue: Mobile pages on a Shopify store (timecraft.se) could be scrolled horizontally, revealing white space on both sides. Goal was to disable horizontal scrolling on mobile.
Fix attempts and outcome:
Initial CSS suggestion (html { overflow-x: hidden; }) added to base.css did not resolve the issue.
Updated CSS (html, body { overflow-x: hidden; }) applied, which successfully removed horizontal scrolling on mobile.
Follow-up request: Change product variant options to appear as transparent buttons (design illustrated via an attached image).
I’m experiencing an issue on my Shopify website where, when scrolling down on mobile devices, I can scroll horizontally to the white spaces on the left and right side of the screen. This only happens on mobile, and I would like to remove the horizontal scrolling entirely.
Could you please help me with a solution to prevent the page from scrolling horizontally on mobile? I want the page to stay within the boundaries of the screen without any extra space on the sides.
I would like to have my variant options as transparent buttons instead of being filled in. Here is an example of what I would like, and here is how it looks right now.