spantchux Posted September 18 Share Posted September 18 Site URL: https://flower-turquoise-bt9w.squarespace.com/ Hi, can anyone help with this: I've created some links with a hover state on my Homepage (operating as an alternative navigation bar) and I can't seem to edit the colour or font of these links, both in hover and default state. I've included the code I've used here and also links to my site and codes to access it. The links I'm referring to are highlighted in the screenshot below. https://flower-turquoise-bt9w.squarespace.com/ Password: JosephDoody24 Many thanks in advance! Sam Link to comment
tuanphan Posted September 20 Share Posted September 20 You can try this div#block-yui_3_17_2_1_1726066017488_2037 h2 a:hover { opacity: 0.5 !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
spantchux Posted September 23 Author Share Posted September 23 Thanks @tuanphan. I tried adding the code you suggested but it hasn't worked... Have I done it right? Link to comment
tuanphan Posted September 24 Share Posted September 24 22 hours ago, spantchux said: Thanks @tuanphan. I tried adding the code you suggested but it hasn't worked... Have I done it right? I see opacity changed 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
spantchux Posted September 25 Author Share Posted September 25 Yes, opacity changes on hover but I wanted to know if it's possible to change the colour to a different hex code altogether on hover? Link to comment
Solution tuanphan Posted September 27 Solution Share Posted September 27 On 9/25/2024 at 9:00 PM, spantchux said: Yes, opacity changes on hover but I wanted to know if it's possible to change the colour to a different hex code altogether on hover? Use this div#block-yui_3_17_2_1_1726066017488_2037 h1 a:hover { opacity: 0.5 !important; color: #f1f !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
spantchux Posted October 2 Author Share Posted October 2 Amazing! Thanks so much for the help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment