Jump to content

Reduce padding between Header and container for all pages

Recommended Posts

Site URL: https://runningineights.squarespace.com/

Hello! I have two issues. 

How do I reduce the padding globally under the header. The gap is still far too wide even when I've decreased this in section options.

Also, there's a white bar that shows itself in mobile right above the footer (attached). How do I get rid of this or globally change the sites background color?

Thank you so much for any help!

Mobile.jpg

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
#page article section:first-child {
    padding-top: 20px !important;
}

}

and remove this code

#footer-sections {
    margin-top: auto;
}

 

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

@tuanphan Thank you for responding. I tried this code out but it wasn't working. The padding didn't change at all. I'm sorry, I may have not explained it well. I attached a screenshot marking the area with a red rectangle I want to affect, if that helps at all.

Thanks again for your help!

@media screen and (max-width:767px) {
#page article section:first-child {
    padding-top: 20px !important;
}

}

Screen 2.png

Link to comment
13 hours ago, bravethestorm said:

@tuanphan Thank you for responding. I tried this code out but it wasn't working. The padding didn't change at all. I'm sorry, I may have not explained it well. I attached a screenshot marking the area with a red rectangle I want to affect, if that helps at all.

Thanks again for your help!


@media screen and (max-width:767px) {
#page article section:first-child {
    padding-top: 20px !important;
}

}

You mean on desktop or mobile? Above code for mobile

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.