Changing hover colour
-
How do you change the hover colour? I’ve tried the following code in the css section but I clearly don’t have it correct as the hover colour is grey and not the red I have in the code.
#access a:focus{
color: #a40303;
}Thanks for any help you can provide.
The blog I need help with is: (visible only to logged in users)
-
Hi there, you are definitely on the right track. Looking at the existing CSS, we need to include an additional CSS selector like this.
#access li:hover > a, #access a:focus { color:#a40303; } -
Thank you so much! That worked perfectly! What would the code be to also have the hover colour be red and not grey for the headlines in each post?
I really appreciate this thesacredpath.
Thanks
-
Revise the CSS I gave previously so that it looks like this.
#access li:hover > a,#access a:focus, .entry-title a:hover { color:#a40303 } -
-
- The topic ‘Changing hover colour’ is closed to new replies.