Jump to content

Change social-link icon hover color?

Recommended Posts

26 minutes ago, jonnehansson said:

Site URL: https://www.jonnehansson.com/

Hi!

I am wondering if it´s possible to change the hover color on these social-link icons?
I would like the icons to be black and the hover color green (hex #16ca02).

https://www.jonnehansson.com/aboutcontact

Thank you in advance😅

change hover color.jpg

Try adding to Home > Design > Custom Css

.social-icons-color-black.social-icons-style-regular .sqs-svg-icon--list:hover .sqs-use--icon {
  fill: red;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
15 hours ago, jonnehansson said:

Yes, it works! Thank you! 

The only thing now is that the hover is "reversed" on the icons. 
Is that possible to fix?

Thank you in advance😅

/Jonne

change hover color marked on instagram icon.jpg

Don't remove any code in your current code. Add this CSS

a:hover use.sqs-use--icon {
    fill: #16ca02 !important;
}
nav.sqs-svg-icon--list .sqs-use--icon {
    fill: black !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.