DesignPearl Posted October 16 Share Posted October 16 I can't figure out why my h2 links won't change color when I hover over them. 😤 I inserted this code: h2 a:hover { color: #F9CA92 !important; } Is it because I also used this code to remove the underline and it's overriding it? a { text-decoration: none !important; } Link to comment
mandeep Posted October 16 Share Posted October 16 Share site url pls.. some time class add under H2 tag. then not working. Mandeep Rajasthani Squarespace Website Designer Contact me: mandeeprajasthan@gmail.com Link to comment
DesignPearl Posted October 16 Author Share Posted October 16 https://www.beautifulyoutanning.com/ Link to comment
DesignPearl Posted October 17 Author Share Posted October 17 (edited) No idea why I can't get this code to apply to these links - Body Treatments, Morpheus8, etc... I have used this code, which works on other links but not these. ☹️ #page a:hover { color: #F9CA92!important; } website: www.beautifulyoutanning.com @tuanphan can you please help! 🙏 Edited October 18 by DesignPearl Link to comment
Solution tuanphan Posted October 19 Solution Share Posted October 19 On 10/17/2023 at 2:23 PM, DesignPearl said: No idea why I can't get this code to apply to these links - Body Treatments, Morpheus8, etc... I have used this code, which works on other links but not these. ☹️ #page a:hover { color: #F9CA92!important; } website: www.beautifulyoutanning.com @tuanphan can you please help! 🙏 Use this code #page a:hover, #page a:hover * { color: #F9CA92!important; } DesignPearl 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
DesignPearl Posted October 19 Author Share Posted October 19 (edited) On 10/17/2023 at 12:23 AM, DesignPearl said: No idea why I can't get this code to apply to these links - Body Treatments, Morpheus8, etc... I have used this code, which works on other links but not these. ☹️ #page a:hover { color: #F9CA92!important; } website: www.beautifulyoutanning.com Thank you!! Curious, what does adding "#page" twice and a "*" do? Edited October 19 by DesignPearl Link to comment
tuanphan Posted October 21 Share Posted October 21 (edited) On 10/20/2023 at 4:33 AM, DesignPearl said: Thank you!! Curious, what does adding "#page" twice and a "*" do? #page a target all links #page a * target all links + all child element inside links (a) tag Edited October 21 by tuanphan DesignPearl 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
DesignPearl Posted October 26 Author Share Posted October 26 @tuanphan is there a way to make it so that my button text doesn't also change to this color? I want button text color to turn black (not orange) on hover. Link to comment
tuanphan Posted October 29 Share Posted October 29 On 10/27/2023 at 12:49 AM, DesignPearl said: @tuanphan is there a way to make it so that my button text doesn't also change to this color? I want button text color to turn black (not orange) on hover. To exclude button, change to this #page a:not([class*="button"]):hover,#page a:not([class*="button"]):hover * { color: #f9ca92 !important } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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