Change Colour of Text Highlight (CSS Help!)
-
Hi all!
I’ve recently been customizing a theme to my liking by adding CSS. The theme came with a purple colour scheme, so lots of elements were in this colour.
I have managed to change most elements that were in purple to my preferred colour scheme so far, except for when text is highlighted. I thought I fixed things by adding the following CSS to the ‘Additional CSS’ section:
p::-moz-selection { background-color: #00CA12}
p::selection { background: #00CA12; }This did fix most highlighted text. However, there are still some text elements that are showing up in purple – it seems to be when hyperlinks are highlighted, as well as any italicized/bold text. Please refer to my web site for more info.
I’m still learning, so if someone could please let me know what CSS I could implement to fix this and get all highlighted text showing up as the green colour, that would be great! Many thanks & have a good one,
– C
The page I need help with: [log in to see the link]
- The topic ‘Change Colour of Text Highlight (CSS Help!)’ is closed to new replies.