+10 344 123 64 77

Thursday, February 14, 2013

How to Change the Text Selection Color with CSS in Blogger

Bloggers work really hard for designing their blog. They use Best Templates, Widgets, Colors, CSS etc for designing their blog then why keep the default Text selection color? Why not use a custom color for Text selection which blends in your template, I mean which matches your blog colors.
You can change the default Text selection color just by adding a small CSS code in your Blogger template.

How to Change Text Selection Color in Blogger

  • Log In to your Blogger Account
  • Go to Template > Edit HTML
  • Search for ]]></b:skin> code
  • Now Add the following code just before ]]></b:skin>

::-moz-selection {
    background-color: #000000;
    color: #fff;
}
::selection {
    background-color: #000000;
    color: #fff;
}
  • Now just change #000000 with the hex code of color you want the Text selection to be.
  • Save Template
 
Done!!! You've successfully changed the default color of Text selection for your blog. 

0 comments:

Post a Comment