Mobile Version Of Site Moves Left And Right On All Pages (Using Prestige Theme)

Topic summary

A Shopify store using the Prestige theme experienced horizontal scrolling issues on mobile devices, where pages moved left and right instead of staying fixed.

Root Cause:
A container element exceeded the screen width on mobile view, causing the unwanted horizontal movement.

Solutions Provided:

  • Option 1: Add CSS code targeting select#country_code with width: 100% !important; to the theme.scss.css file via Admin > Online store > Themes > Edit code > Assets folder

  • Option 2: Insert custom CSS code in the theme.liquid file before the closing </body> tag

Both solutions included screenshots showing the problematic container and implementation steps.

Resolution:
The issue was successfully resolved after implementing one of the suggested fixes. The original poster confirmed the problem was solved.

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

Could someone please help me to stop my website pages from moving left and right in mobile view?

URL: ellibellejewellery.com

1 Like

Hi @Ellibelle ,

There is a container that exceeds the width of the screen (See image below). I am not sure how this html being rendered but you can try the code below if the style can affect the said container.

  1. From your Admin page, go to Online store > Themes > click the three dots > Edit code
  2. Find the Asset folder, and open the theme.css file
  3. Add the code below at the very end of the file
select#country_code {
    width: 100% !important;
}
1 Like

Hi @Ellibelle

You can try this code by following these steps:

Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag


Hope this answer helps.

Best regards,

Victor | PageFly

1 Like

Thank you so much. This solved the problem!

1 Like