• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 How to change colour of highlighted text?

Robust

Well-known member
#1
When you use your cursor and highlight text, mine is the same as the background, so you don't see it's highlighted. I changed the background colour and then the highlighted colour works. How can I change the colour for highlighting text?
 

Robust

Well-known member
#4
Solution for anyone that comes across this thread:

Add this to EXTRA.css:

Code:
::-moz-selection {
    background: #FFFFFF;
}

::selection {
    background: #FFFFFF;
}
Replace #FFFFFF with your desired colour.