Jump to content

Invers Logo color on page

Recommended Posts


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;


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
  • 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

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


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.