Jump to content

How can I change my website header color? Custom CSS doesn't seem to have any impact

Recommended Posts

  • Replies 1
  • Views 189
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 6/28/2021 at 11:31 PM, JanRaey said:

Site URL: https://mandolin-parrot-rlyc.squarespace.com/

Hi,

I'm trying to change my site header color to #f1ece1, but when I insert the following code into my Custom CSS, it's not doing anything:

.homepage header.Header.Header--top {
    background: #f1ece1;
}

Can someone help me out?

Many thanks!

Regards,

Jan

Password: intero

Hi. Use this new code

/* header color */
body.homepage header#header, body.homepage .header-announcement-bar-wrapper {
    background-color: #f1ece1 !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!)

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.