Change social media header icon colors on specific pages in Squarespace

In this article, you’ll learn how to change social media header icon colors on specific pages in Squarespace - no fluff, just what you need to know. If you find the article useful, feel free to share it with the world using the social sharing icons on this page. Thank you!

1. Why use this code?

Many reasons! Sometimes, you may be using a background image or video that makes the social icon colors blend into the background too much. That is, if you’re using a transparent header of course.

🚨 You’ll need to download the Squarespace Block Identifier chrome extension to target the correct section in the code below.

The Margin · Community

Start, scale & systemise your web design agency.

I bootstrapped my agency from zero to seven figures. The Margin is the operating system I wish I'd had.

Join The Margin

2. The code

Paste where? Design > Custom CSS

🚨🚨 Replace #CollectionID with the page’s ID that you want to target.

🚨🚨🚨 Replace #ffffff with any color of your choosing.

 

// Change color of social media icons on single page //

#CollectionID {

.header-actions .icon--fill svg {

fill: #ffffff !important

}

}

book a call with sam crawford squarespace expert

Need an expert to build your Squarespace website?

Book a free kick-off call with our team to discuss your project requirements in detail.

Previous
Previous

Hide next & previous buttons on blog posts in Squarespace

Next
Next

Grayscale effect on Squarespace gallery sections