Jump to content

Extra Space On Right Side - Mobile View

Recommended Posts

Site URL: http://www.hannahdooley.com

Hi - I am having an issue with the mobile view of my website. If you are viewing the home page or contact page (it only does it for the home page and contact pages) on your phone, and scroll to the right, the whole page moves over and there is a blank space to the right of the page that runs all the way down the screen. I know this has something to do with the coding I found on the internet that allows me to have a banner that scales rather than get cropped. The coding worked great except for this one issue!

Anybody know how I can fix this without getting rid of the coding I used for the banner?

Thanks for any help.

HannahDooleyCoding.jpeg

HannahDooleyHomePageRightSideGap.jpg

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

19 minutes ago, HDooley said:

I am having an issue with the mobile view of my website. There is a blank space to the right of the page that runs all the way down the screen. I know this has something to do with the coding I found on the internet

This will happen if your CSS causes elements to "overflow" outside of the site "container". You can usually hide this overflow by adding the following to Design > Custom CSS but bear in mind that it is only hiding the issue - it is not fixing it. You can find out more about overflow-x in this guide.

For a more permanent fix, you can check through each line of custom code to see if it is causing the issue.

html, body {
  overflow-x: hidden;
}

Was this post helpful? Please give feedback by clicking an icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.