Jump to content

Code for changing header colour on single page?

Recommended Posts

Hello there,

I need help to change my header background color on my about page only. I have tried the following codes but I cant get them to work. What am I doing wrong?:

<style>
#header {background-color: #C7B299 !important;}
</style>

-

body#collection-xxxxxx header.Header {
    background-color: #ffffff; /* Change this to the desired background color */
}

 

I have not launched the site yet, but I don't see why that could be a problem. 

 

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.