Mobile View Shifts to left leaving a blank white space. Please Help!

Topic summary

A Shopify store is experiencing a mobile layout issue where the page shifts left, creating unwanted white space on the right side. An image was shared showing the problem on mobile view.

Proposed Solutions:

Multiple developers suggested similar CSS fixes targeting the overflow issue:

  • Add overflow-x: hidden to html and body elements within a media query for mobile screens (max-width: 749px or 600px)
  • Set width: 100vw on these elements to prevent horizontal scrolling
  • Use !important flags to ensure the styles override existing rules

Implementation Methods:

  1. Add code to Custom CSS section (Theme > Customize > Theme settings)
  2. Edit base.css file directly and append the code at the end

Several responders requested the store URL to provide more specific assistance. The issue appears to stem from fixed-width containers or images not adapting properly to mobile viewport dimensions.

Status: Multiple solutions offered, awaiting user confirmation of which approach resolved the issue.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi @Tanay12 ,
This is Polo from MS Web Designer.
I would love to assist you with your query. Please share the store URL.

If you have any doubt, please feel free to ask.

Regards
Polo