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:
469
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.

RE: Changing Your Highlight Color

Gummy
Verified Rad Pirate Dad
Supreme
Level:
4
Reputation:
60
Posts:
1.39K
Likes:
85
Credits:
48
12-08-2015, 05:42 AM
#2
Very nice tutorial! Thank's for the share c:
[Image: giphy.gif]

RE: Changing Your Highlight Color

Bokeh
I write on the occasion.
Divine
Level:
0
Reputation:
47
Posts:
469
Likes:
57
Credits:
12
OP
12-08-2015, 05:50 AM
#3
12-08-2015, 05:42 AM
Gummy Wrote:
Very nice tutorial! Thank's for the share c:

No problem man, hope it helps. :yus:

RE: Changing Your Highlight Color

Gummy
Verified Rad Pirate Dad
Supreme
Level:
4
Reputation:
60
Posts:
1.39K
Likes:
85
Credits:
48
12-08-2015, 05:52 AM
#4
12-08-2015, 05:50 AM
Lukas Wrote:
12-08-2015, 05:42 AM
Gummy Wrote:
Very nice tutorial! Thank's for the share c:

No problem man, hope it helps. :yus:

pfft I already know how to do that, but, yu kno lol
[Image: giphy.gif]

Users browsing this thread: 1 Guest(s)