Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

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

Share this post


Link to post

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;
}
}

 


You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

Forum: I usually answer questions at 2pm - 5pm EST

How to Setup Password & Share URL - Squarespace Free Templates - Free Code - CSS ID List

Share this post


Link to post

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?

Share this post


Link to post
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

You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

Forum: I usually answer questions at 2pm - 5pm EST

How to Setup Password & Share URL - Squarespace Free Templates - Free Code - CSS ID List

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...