MacUn Posted September 15, 2021 Share Posted September 15, 2021 (edited) 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; } } Edited September 15, 2021 by mackenzieu Image was in the middle of text Link to comment
tuanphan Posted September 15, 2021 Share Posted September 15, 2021 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
MacUn Posted September 15, 2021 Author Share Posted September 15, 2021 11 minutes ago, tuanphan said: oterBlocksTo @tuanphan Thanks a bunch! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment