Pete550 Posted July 21, 2021 Posted July 21, 2021 I would like to change the colour of instagram logo, login and cart icon in header to white on home page only. Other pages I want everythig in the header to be black, so just the homepage as then its white over the background video. I have used code to invert the colour of the logo and the menu items already. Thanks! @tuanphan
IgnitePerth Posted July 22, 2021 Posted July 22, 2021 try: .header-actions .icon--fill svg { fill: white !important; } .header-actions a { color: white !important; } .header-actions .icon--stroke svg{ stroke:white !important; } .header-actions .icon-cart-quantity { color: white !important; } If you find our solution helpful please thumbs up or mark it as the solution! Thank you 🙂 Contact Us for detailed help Common Squarespace Tips Sharing Your Site Link Squarespace web designers in Perth WA.
Pete550 Posted July 22, 2021 Author Posted July 22, 2021 Heya this works! However, I want to have it so its ONLY white on the home page (where it overlays a video). All other pages it needs to stay black Pete
tuanphan Posted July 23, 2021 Posted July 23, 2021 17 hours ago, Pete550 said: Heya this works! However, I want to have it so its ONLY white on the home page (where it overlays a video). All other pages it needs to stay black Pete Try editing above code to this body.homepage { .header-actions .icon--fill svg { fill: white !important; } .header-actions a { color: white !important; } .header-actions .icon--stroke svg{ stroke:white !important; } .header-actions .icon-cart-quantity { color: white !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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.