Changing Highlighted Text Selection Color In Blogger Blog – CSS Trick
Want to show something different in your Blogger blog just
like the Running Trucks then here you go. Here we will see a simple
CSS trick that changes the highlighted text selection color in Blogger blog.
When you highlight several texts you can see the selected
highlight color as sky blue and text color as white. This is default for all
websites which might be pretty boring and so for wordpress users we made a Simple Tutorial On This Topic.
Now for Blogger let’s see how to change the highlighted text
selection color that matches your blog color. By using this CSS code you can
change the highlight selection color as well as text color in your Blogger blog.
Changing Highlighted Text Selection Color In Blogger
1. Login to Blogger and choose the blog that you wish to change
the highlighted color. Now go to your dashboard >> Template and
then click Edit HTML.
2. Now press CTRL + F in the code area and search for
this line. ]]></b:skin>
3. Now paste the following CSS just above this line. ]]></b:skin>
/*** Mozilla based browsers ***/ ::-moz-selection { background-color: #D13D5D; color: #3DD1B1; } /*** Works on common browsers ***/ ::selection { background-color: # D13D5D; color: #3DD1B1; }Once done click save template and now highlight texts in your blog and see the changes.
In the above code the background-color in the highlight
color and color is the text color that changes when highlighting. Use ColorPicker and grab the color codes to perfectly match your blog color.
I can hope this article helped you on how to change the highlight text
selection color in Blogger blog. Share it and subscribe to our RSS feeds to get
more tricks.
No comments:
Post a Comment