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

Thanks

Link to comment

Try this:

body.homepage .header-actions .header-icon-border-style-solid {
  background-color:rgba(0,0,0,0.5);
}

 

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 weeks later...

@ValueResonance please can you share your website URL.

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.