Jump to content

Invert Custom Social Icon Colour

Go to solution Solved by Ziggy,

Recommended Posts

Hi there, I have a custom 'social icon' on my site that sits as black on every page, however I need to invert it to white for the 'Youth' Page. Can't seem to figure our a way of doing this - have tried multiple options, and even uploaded a white version of the logo, however can't seem to figure out how to make this happen. Any help much appreciated! Thanks! 

Screenshot 2023-02-20 at 11.36.55.png

Link to comment

Can you share your website URL? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • Solution

Add this to your Custom CSS:

#collection-63f00c0f7b07a654cce15eee {
  .icon--fill:nth-of-type(1) {
    filter: invert(1);
  }
}

Let me know if that works!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
4 minutes ago, davebradshaw said:

Just occurred to me that it doesn't change on the mobile menu, is there an option for doing that too? 

For that you need to add this:

#collection-63f00c0f7b07a654cce15eee {
  .header-menu-actions-action:nth-of-type(1) {
    filter: invert(1);
  }
}

Can you mark my post as the solution to this thread and give my posts a thumbs up? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.