Jump to content

Invers Logo color on page

Recommended Posts

Hello, 

I'm trying to invert my Logo color on the homepage, as I use a dark header on it. I upload the dark logo as the main logo (for mobile and all other page) and used this css for only homepage

 

<style>.Header-branding-logo {
 -webkit-filter: invert(100%) !important;
 filter: invert(100%) !important;
 }</style>

 

It works well when I'm on the squarespace editing mode. But when I go to safari or chrome as visitor it change the color of all the pages, not only homepage.

 

Can someone help me 🙏?

 

Thank you 

 

my website:  www.versovisual.com

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

@cristina.mrjn Did you insert that code in Home > Settings > Advanced > Header Code Injection?

If yest, insert to Home Page code Injection

or remove above code, and add this to Home > Design > Custom CSS

.homepage .Header-branding-logo {
 -webkit-filter: invert(100%) !important;
 filter: invert(100%) !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

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.