Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
cristina.mrjn

Invers Logo color on page

Question

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

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

@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;
 }

 


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...