Jump to content

Change Nav Items Colour on Hover

Recommended Posts

Site URL: https://raegocreative.com/

Hi! 

I am trying to make all the items within my header change to the same colour on hover. So far I have only been able to do it for the nav menu links, login and social icons. But can't get it to work for the logo, cart icon and contact button. 

Could someone share the css to target these items? Colour I want to change to on hover is: hsl(210, 63%, 85%)

Site: https://raegocreative.com/, and template is 7.1 Hester.

1727260205_ScreenShot2020-03-06at1_50_07pm.thumb.png.4d73221585da361a2942f4b917a48c2a.png

Link to comment
  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

 

.header-actions-action a:hover {
    color: hsl(210, 63%, 85%) !important;
}
.header-actions-action--cart .icon--cart:hover .icon--cart {
    stroke: hsl(210, 63%, 85%) !important;
}

You can't change logo color to hsl(210, 63%, 85%), the only solution is change to new logo on hover. 

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 3/6/2020 at 9:09 PM, tuanphan said:

 


.header-actions-action a:hover {
    color: hsl(210, 63%, 85%) !important;
}
.header-actions-action--cart .icon--cart:hover .icon--cart {
    stroke: hsl(210, 63%, 85%) !important;
}

You can't change logo color to hsl(210, 63%, 85%), the only solution is change to new logo on hover. 

Thank you this worked perfectly! Do you know the css to target a different logo on hover using href?

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.