Jump to content

Change the background-color of the social media icons only on the Homepage.

Recommended Posts

I want to change the color of the social media icons only on the Homepage.

With this code I've been able to change the color of the icons –the "text":

body.homepage .header-actions .icon--fill svg {
      fill: #000000 !important;

But I want to change also the background-color of the icon –which I designed as a solid circle– to black with a 50% transparency. What's the code for that?

Link of the page: www.datingimmersion.com


Link to comment

Try this:

body.homepage .header-actions .header-icon-border-style-solid {


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

Zygmunt Spray
Squarespace Website Designer
Contact me: 

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

 Did I help? Buy me a coffee?

Link to comment
  • 4 weeks later...

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.