Themes, Templates and Scripts

Changing Your Highlight Color

Submitted by Bokeh, , Thread ID: 8808

Thread Closed
Bokeh
I write on the occasion.
Divine
Level:
0
Reputation:
47
Posts:
467
Likes:
57
Credits:
12
12-08-2015, 05:30 AM
This post was last modified: 12-08-2015, 05:30 AM by Bokeh
#1
I'm not going to add hide tags as this is really simple. Normally your specified highlight color is located in your style.css file or main stylesheet. Which in that case, this is how you would change it:

Code:
::selection { background: #fff; color: #4472B9; }
::-moz-selection { background: #fff; color: #4472B9; }

If it is not in your stylesheet and you'd like to add it to your index file, you'd simply do this:

Code:
<style>
::selection {
background: #fff;
color: #4472B9; }

::-moz-selection {
background: #fff;
color: #4472B9; }
</style>

Hope I could help.

Users browsing this thread: 2 Guest(s)