Jump to content

Trying to get header logo on one page to be a different colour

Go to solution Solved by tuanphan,

Recommended Posts

Hi, I need a different/lighter version of my header logo to appear on the black background of my About page. I pasted in some CSS which was working for a while, but now it isn't and it's saying 'Syntax Error On Line 1'.

Any help would be very much appreciated please. Here's the code I used:

</style>
.header-title-logo a {
  content: url("https://static1.squarespace.com/static/616448878db4ba5c32bc74c2/t/63e101ed9e6cd3537d676158/1675690477827/Z_Mark_Logo_v3.png");
  }
</style>

Link to comment
  • Replies 2
  • Views 290
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

You have incorrect code. And you need to add it to About Page Header, Not Custom CSS

  <style>
header#header img {
  content: url("https://static1.squarespace.com/static/616448878db4ba5c32bc74c2/t/63e101ed9e6cd3537d676158/1675690477827/Z_Mark_Logo_v3.png");
  }
</style>

 

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.