Change Text Selection Highlight Colour
-
So I’ve used the following bit of code to change the text selection colour from the default blue to gray, which is more suited to my site:
spydistrict.com
Code:
/*Overriding the default text selection color*/
::selection {
background:#A4A4A4;
color:#eee;
}::-moz-selection {
background:#A4A4A4;
color:#eee;
}::-webkit-selection {
background:#A4A4A4;
color:#eee;
}I put it at the end of my stylesheet. Trouble is, (you can figure out what’s happening when you go to any page on my site and press Ctrl+A), some regions on highlight like the logo or elements of the sidebar still retain the blue colour?
Any way I can make them gray as well?
[No bumping. If it’s that urgent, consider hiring someone.]
The topic ‘Change Text Selection Highlight Colour’ is closed to new replies.