Each and every WordPress Theme has its default text selection colour but some themes have default black text selection colour which I think most of the people wont like.My theme also had the default black text selection colour as I didn’t liked it so I changed it.Today I will show you how to change that text selection colour within a minute you can have any text colour which you like as its your site keep what ever colour you want rather than black and this method works for both WordPress and also for Normal Websites as we have to do just a bit changes in our CSS code so lets get started.

How to Change Text Selection Colour for a Website or Blog :-

1)As I said earlier my Website’s default text selection colour was black as shown in the image below now I’am gonna change that as I don’t like it.

2)First of all login to your WordPress Site and then go to Appreance –> Editor as you can see in the Image below.

3)Then Click on the file style.css (on bottom right) and then scroll down to the end as you can see in the Image below.

4)Now in that style.css file just add the CSS code which I have given below and then click on Update File (As shown in the Image below) and now text selection colour will change from black to orange as #ff6200 is Orange colour code.

::-moz-selection {
background-color: #ff6200;
color: #fff;
}

::selection {
background-color: #ff6200;
color: #fff;
}

Note:-If you want to change the colour from orange to anything else then just change #ff6200 to any color code you want.You can get the colour code from Adobe Photoshop.

5)As you can see in the image below the text selection colour has changed from black to orange and if you are not using WordPress Website and using Normal Website then do the same just copy and paste the code in your Website’s CSS Stylesheet  and it will change the text selection colour for your Website.

If you like this post then your feedback will be appreciated and if you have any doubts then feel free to comment down below I will be glad to assist you,you can also Subscribe to my Newsletter below to stay updated with my latest posts which will right away delivered to your inbox as soon as I publish or you can also Follow me on Twitter or like me on Facebook or Add me to your Google Plus Circles.