Change Text Selection Highlighting Color in blogs - My Blogger Market

Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

6/22/2011

Change Text Selection Highlighting Color in blogs

imageAnother way to stand out from the crowd is to have a customized blog Text Highlighting color. This can ensure that when users highlight text on your blog, it matches your blog’s theme, and may also look professional at the same time.


Here is a quick demo:

Live Demo



Styling Text Highlight color In Blogger


1. Go To Blogger > Design > Edit HTML

2. and search for ]]></b:skin>

3. Right above it, paste this code:


::-moz-selection  {
Background: #EB7F17;
color: #FFFFFF;
text-shadow: none; 
 
}
::selection   {
background: #EB7F17;
color: #FFFFFF;
text-shadow: none; 
 
}

 

Make these changes:

  • Replace #EB7F17 with the highlight color
  • Replace #FFFFFF with the Font color. By default the font color appears white.

You can choose a color using the HexaDecimal Color Generator
Once you have entered your preferred color code, save your template, and see the difference!
Have fun blogging!

 

Anims


About the Guest Author:

Anims is freelance web designer and enjoys playing around with and learning coding in his free time. He likes to write about Web Technologies such as HTML, CSS and SEO.

No comments:

Post a Comment

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.

Post Top Ad

Responsive Ads Here