raego Posted March 6, 2020 Share Posted March 6, 2020 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. Link to comment
Thurstings Posted March 6, 2020 Share Posted March 6, 2020 @raego Hey - Have you installed Squarespace block identifier? It gives you the block ID's of things on your page like your logo, text blocks, image blocks etc! Link: https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde If you have a hover code already, you should be able to apply it to these block ID's too - Let me know if this helped! Link to comment
tuanphan Posted March 6, 2020 Share Posted March 6, 2020 .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
raego Posted March 7, 2020 Author Share Posted March 7, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.