How to change the colour of the selection text in Blogger

 I'M MAKING A TUTORIAL BECAUSE I WAS GOING INSANE AND I FINALLY FOUND A WAY. I WANT OTHER PEOPLE TO BE HAPPY TOO.


1. Go to "customize" - "edit html".

2. Ctrl F, search "</head>".

3. Place this code after "</head>" :

  <style type='text/css'> ::selection {background:#b005f7;color:#ffffff;} ::-moz-selection{background:#b005f7;color:#ffffff;}</style>

 
And now edit the colors! "Background" refers to the color of the selection. "Color" refers to the color of the text itself.

 You can search "css color picker" on Google, and you can pick a color there. 

For example:


For this color, the code is "#f58ee4", so:

  <style type='text/css'> ::selection {background:##f58ee4;color:#ffffff;} ::-moz-selection{background:##f58ee4;color:#ffffff;}</style>



Once you're done, save it and refresh your blog.



I hope this helped! :)

No comments:

Post a Comment

SONGTOBER Day 19: "Good Mourning"

  。・:*:・゚★,。・:*:・゚☆ 。 A little bit late, but this is for day 19 of Songtober "Good Mourning". I wrote it about how we are always c...