Jump to content

Top footer block padding

Recommended Posts

Site URL: https://sprout-tuna-swnf.squarespace.com

I want the top of my footer to be a different colour to the rest of it. How do I remove the padding so the orange goes right across the width of the page and doesn't show any of the grey at the top?

I already tried this:

.Footer-inner{
        padding: 0px
}

but when I do that it leaves a line along the side of the whole page (see attached).

Please could someone help??

screenshot top footer.PNG

screenshot footer no padding.PNG

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Add to Home > Design > Custom CSS

@media screen and (min-width:901px) {
.Footer-inner {
    padding-left: 0;
    padding-right: 0;
}
.Footer-inner>div:not(:first-child) {
    padding-left: 125px;
    padding-right: 125px;
}
}

 

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
2 minutes ago, keon said:

Thanks. That works on desktop but not on mobile. I'm assuming this is because of the @media screen and (min-width:901px) you added in? It works when I don't include that part but will leaving it out cause other issues?

above code runs only desktop. Mobile needs different code

Edited by tuanphan

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.