Jump to content

Expand Footer Bar to Fit Screen

Recommended Posts

Site URL: https://carrot-bronze-bld8.squarespace.com/

Hello! I'd like the bottom green bar in the footer to expand with the screen resolution. I have the following custom CSS in there to get the green bar:

/* Footer green bar */
div.Footer-inner {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
div.Footer-inner>div:not(:last-child) {
    padding-left: 125px;
    padding-right: 125px;
}
@media screen and (max-width:1920px) {
div.Footer-inner>div:not(:last-child) {
    padding-left: 60px;
    padding-right: 60px;
}
}
@media screen and (max-width:960px) {
div.Footer-inner>div:not(:last-child) {
    padding-left: 48px;
    padding-right: 48px;
}
}
@media screen and (max-width:768px) {
div.Footer-inner>div:not(:last-child) {
    padding-left: 36px;
    padding-right: 36px;
}
}

Screen Shot 2021-09-14 at 7.08.15 PM.png

Edited by mackenzieu
Image was in the middle of text
Link to comment
  • Replies 2
  • Views 379
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Your Footer width has 1420px limit. You need to remove the limit first.

/* Footer green bar */
.Footer-inner {
    max-width: 100% !important;
    width: 100% !important;
}
div#footerBlocksTop {
    max-width: 1420px;
    margin: 0 auto;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.