Add A Different Background For Author Comments In Blogger's Threaded Comments

13.10.13
n this tutorial we will learn how to highlight the author comments so that they will have a different background color, border, or anything that makes them stand out from the others. To achieve this, we need to add a code in the Blogger's template and to modify the style according to our preferences.
blogger tricks, blogger comments
  

HOW TO HIGHLIGHT AUTHOR COMMENTS IN BLOGGER:

Step 1. Go to Template, click on Edit HTML

blogger threaded comments, customize blogger comments

Step 2. Click anywhere inside the code area and try to find - using CTRL + F keys - this tag:
 </body>
Screenshot:
blogger comments, blogger tricks

Step 3. Just above it, paste the following code:
 <script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(function() {
function highlight(){
$('.user.blog-author').closest('.comment-block')
.css('border', '1px solid #FFA500')
.css('background','#F1F1F2 url("http://www.blogblog.com/1kt/transparent/white80.png")')
.css('color', '#444444')
.css('font-size', '12px')
.css('padding', '10px');
}
$(document).bind('ready scroll click', highlight);
});
</script>

Customizing the Author Comments:


Border:
The line marked in orange represents the border's style.
What it can be done:
  • 1px - you can increase the value to change the border's thickness
  • solid - change the border's style to dotteddashed, inset, outset etc.
  • #FFA500 - this is the border's color value, change it with your own color

Background:
The line marked in blue represents the background's style. You can use a plain color or an image. By default there's a combination of both (a white transparent image with a gray plain color).
To change/add:
  • a different color: replace the #F1F1F2 value with your own (use this tool to find the hex code of your desired color)
  • an image: replace the defaul url http://www.blogblog.com/1kt/transparent/white80.png with that of your image

Font Color:
To change the font's color, replace the #444444 color value in green with your own. (you can use this tool to find the hex code of your desired color)

Font Size:
Modify the value in red by increasing/decreasing the "12" value in order to change the size of text.

Step 4. Now Save your Template.

To customize the entire style of threaded comments, please check my previous tutorial on How to Customize Comment's Background, Font Color and Border in Blogger.
Labels:
  1. Anonymous

    I am really glad I’ve found this info. Nowadays bloggers publish only about gossips and net and this is really frustrating. A good site with interesting content, this is what I need. Thank you for keeping this site.
    website design

  2. I must say, I thought this was a pretty interesting read when it comes to this topic. Liked the material. . . . .
    Buy Facebook fans

  3. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.
    Buy facebook likes

  4. They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. See the link below for more info.


    #obtain
    www.ufgop.org

  5. gha
  6. gha
  7. Saya pikir itu karena ada aspek-aspek tertentu dari perdagangan yang lebih diprediksi dari kuda taruhan. Sebuah saham atau opsi atau pasangan mata uang tidak dapat garuda4d mematahkan kaki atau tiba-tiba jatuh sakit. Plus, sangat sedikit orang yang bermain kuda-kuda membuat penuh waktu hidup itu. Saya pikir itu karena ada aspek-aspek tertentu dari perdagangan yang lebih diprediksi dari kuda taruhan. Tapi ada banyak, banyak pedagang yang menikmati penghasilan paruh senior4d waktu yang sehat atau bahkan membuat penuh waktu hidup – dari perdagangan.

  8. Howdy! This is kind of off topic but I need some help from an established blog. Is it difficult to set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about making my own but I'm not sure where to start. Do you have any points or suggestions? Many thanks

  9. I Want to use this medium to appreciate an online ghost hacker, after being ripped off my money he helped me find my cheating lover and helped me hacked his WHATSAPP, GMAIL, kik and all his social media platforms and i got to know that he has being cheating on me and in less than 24 hours he helped me out with everything, hacking setting is trust worthy, contact him via: hackingsetting50@gmail.com

  10. Anonymous

    V V I P: Add A Different Background For Author Comments In Blogger'S Threaded Comments >>>>> Download Now

    >>>>> Download Full

    V V I P: Add A Different Background For Author Comments In Blogger'S Threaded Comments >>>>> Download LINK

    >>>>> Download Now

    V V I P: Add A Different Background For Author Comments In Blogger'S Threaded Comments >>>>> Download Full

    >>>>> Download LINK

Post a Comment