Jump to content

Change Colour of Social Icons on Navigation Hover

Recommended Posts

  • Replies 7
  • Views 1.6k
  • Created
  • Last Reply
18 hours ago, Nabiloh said:

www.johnsummitmusic.com

Add to Home > Design > Custom CSS. Repeat for other icons

#siteHeader [href*="facebook"]:hover .SocialLinks-link-icon {
    fill: red;
}
#siteHeader [href*="instagram"]:hover .SocialLinks-link-icon {
    fill: blue;
}
#siteHeader [href*="twitter"]:hover .SocialLinks-link-icon {
    fill: green;
}

 

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
On 7/29/2020 at 5:48 AM, Nabiloh said:

You rock! One final question, on the Shop page, I applied a header injection to show a different logo because that page has a white background, it works perfectly on Chrome, but not on Firefox. Any idea why?

Remove your code, add this to Page Settings > Advanced > Header

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('h1.image img').attr('src','https://static1.squarespace.com/static/5ce6eaeb3635390001e51764/t/5f1f223d6dd88f02ead0c474/1595875901364/Summit_ICON_transparent.png');
});
</script>

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.