Jump to content

changing colour logo to black on "work" page

Recommended Posts

Site URL: https://cnocspot.squarespace.com

Hello,

I have a similar issue.

I'd love the logo to invert on light background pages such as the page "work" and some on my Portfolio project pages.
example this one: 
https://cnocspot.squarespace.com/config/pages/632c4be5968ba044b82a08f0

and this one:

https://cnocspot.squarespace.com/work

Do I paste a specific CSS code per page?

Many thanks in advanc for any advice!
Lisbeth Antoine

Have a great day!

Lisbeth Antoine

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add this to Page Header (DO NOT ADD TO DESIGN > CUSTOM CSS)

<style>
body:not(.header--menu-open) header#header img {
    filter: invert(1);
}
</style>

 

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

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.