Hello!
I am trying to create a few text links in a text block. I do not want the text color to be the same as I have set in my styling box – but I do want the same hover color. When I change the text color using the tools in the text block – the hover link color no longer works.
I have a sample below: The hover is working on word “knowledge” but when I change the color to dark blue – see “philosophy” the hover no longer works on the text.
Thanks for your help!
Anna
Hi annameis!
Give you link a class like so.
<a href = "#" class = "customLink">Click here</a>
And then add this to your custom CSS.
.customLink { color: red; }
.customLink:hover { color: blue; }
Cheers!
Elliott
Thank you, I tried this, but it did not change anything. Do you have any other thoughts?
Anna
Hi!
Please try the following instead:
.customLink { color: red !important; }
.customLink:hover { color: blue !important; }
Best regards,
Rikard
Thank you! That worked great…really appreciate the help.
Anna