Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Why does my site shift from left to right when switching pages?

This usually happens when a page isn't long enough for the scroll bar to display in your browser. This is normal behavior, as browsers only display the scroll bar when it's needed.

To force the scroll bar to display regardless of page length, you can add the following line of CSS to your Custom CSS. For more information on using the CSS editor, visit Using the CSS Editor.

html { overflow-x:auto; overflow-y:scroll; }

Note: Custom code modifications fall outside the scope of our support. This means that we’re unable to help further with setup or troubleshooting. Additionally, with a code-based solution, we can’t guarantee its functionality or full compatibility with Squarespace. This includes how it functions with our responsive design, particularly its appearance on mobile devices, and if it functions on all templates. Custom code can also cause display issues with future updates to our platform. While we can't help further, there are many resources that can point you in the right direction:

Was this article helpful?
3 out of 4 found this helpful
Why does my site shift from left to right when switching pages?