Faydenko Posted May 24, 2020 Share Posted May 24, 2020 Site URL: https://www.faydenko.com/ Hello everyone! I'd really like to change the background color of just my header, across the entire width of my website. I'm using the Avenue template and the built-in margins are making this difficult, as I can't get the background color to stretch across the entire width of the site. You can find my website here: https://www.faydenko.com/ Thanks a million! Link to comment
tuanphan Posted May 24, 2020 Share Posted May 24, 2020 Try adding to Home > Design > Custom CSS #canvas { max-width: 100% !important; } #header { margin: -85px -75px; padding: 10px 75px !important; background: gray; } 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
Faydenko Posted May 24, 2020 Author Share Posted May 24, 2020 Thank you so much for the suggestion! That code does create the desired effect, but it also removes all margins from the site. Is there a way to do this without have to re-position all of my content? I've attached a picture of what that looks like. Again, I really appreciate the help! Link to comment
tuanphan Posted May 27, 2020 Share Posted May 27, 2020 #canvas { max-width: 100% !important; } #header { margin: -85px -75px; padding: 10px 75px !important; background: gray; } section#page { max-width: 1200px; margin-left: auto; margin-right: 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.