Jump to content

Header color change

Recommended Posts

Posted

Site URL: http://www.jacobkercheval.com

Hello, I finalized most of my site but I was running into an issue with header coloring.

If you look at my site, you'll see that the header is a very specific purple - however, I can only have that color if I create the first section to match the color. What I'm trying to do is keep the header and footer the same specific purple color, while having all other sections black. But, the system won't let me do it without creating a blank section that makes it look worse.

Is there a specific coding or a workaround to get the header to be a specific color separate from the first section's color scheme?

Thanks for any help,

-JK

  • Replies 1
  • Views 1.9k
  • Created
  • Last Reply
Posted
On 6/21/2021 at 1:26 PM, jtkercheval said:

Site URL: http://www.jacobkercheval.com

Hello, I finalized most of my site but I was running into an issue with header coloring.

If you look at my site, you'll see that the header is a very specific purple - however, I can only have that color if I create the first section to match the color. What I'm trying to do is keep the header and footer the same specific purple color, while having all other sections black. But, the system won't let me do it without creating a blank section that makes it look worse.

Is there a specific coding or a workaround to get the header to be a specific color separate from the first section's color scheme?

Thanks for any help,

-JK

Add to Design > custom CSS

/* Header footer color */
header#header, footer.sections .section-background {
    background: #2d274e !important;
}

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.