Jump to content

Remove Scroll on Mobile Homepage

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.nateburdette.com/

Hi all, I'm wondering if there's a way to eliminate the slight scroll on my homepage on mobile. There's not much content, and I want the homepage to not scroll at all. (I'd like to even remove the scroll bar, like my homepage on desktop.)

This code does the trick on desktop, but doesn't seem to be working on mobile. 

header#header {
    margin-top: 0;
    padding-top: 3vw;
}

Any help at all would be greatly appreciated!
 

Link to comment
  • Solution

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
body.homepage {
    overflow: hidden;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.