HIGHLIGHT AUTHOR COMMENTS IN BLOGGER.

 On Selasa, 11 September 2012  

Many are cases whereby the visitors of a blog go through the stress of viewing each comment on a post in order to locate the author's comment.

In order to save them that stress,it is very necessary to highlight your comments "as a blogger".

Apart from the stress being curbed in the process,it also helps to dignify a blog author's comment amongst several others.

Before we proceed with this tutorial,you might want to spare a little time to go through the following tutorials →
  1. Add a Reply Button To Blogger Comments.
  2. How To Change “Post A comment” Text in Blogger.
  3. How To Customize Blogger Comment-Message.
  4. Add a Comment Policy To Blogger.
  5. Numbered Comment Hack For Blogger Blogs.

How To Highlight Author Comments in Blogger.

First,Login to Blogger.
Go to Design/Layout→→Edit HTML.[Backup your template in case something goes wrong.]

Check the box next to
Expand Widget Template and search for the following piece of code by pressing CTRL+F

<p><data:comment.body/></p>

Note»
The above code will be seen twice,you have to use the second

Next,Replace the code found above with the following snippet of code.

<b:if cond='data:comment.author== data:post.author'>
<p style='border:1px dotted#008e00; color:#00ff00;background:#d80000;width:auto;padding:4px;'>
<data:comment.body/></p>
<b:else/>
<p>
<data:comment.body/></p>
</b:if>

Having done that,preview your template then finally save it.

To change the color,background,border style etc of the comment,simply play around with the css codes highlighted in the snippet above and that will be all.
HIGHLIGHT AUTHOR COMMENTS IN BLOGGER. 4.5 5 Unknown Selasa, 11 September 2012 Many are cases whereby the visitors of a blog go through the stress of viewing each comment on a post in order to locate the author's co...


Related Post:

  • RECENT COMMENT WIDGET FOR BLOGS.The default 'Recent comment widget' for blogger is something that doesn't work on most blogs {mine inclusive},and this made me explore Google in search of a valid recent comment gadget.After searching for days,I finally came across one and decided to… Read More
  • HOW TO MOVE BLOGGER NAVIGATION BAR DOWN.There are couple reasons you might want to keep the default blogger navigation-bar in your blog.In a post sometimes ago,I gave a quick tip on how you can remove the bar from a blog.But,if you think the bar is useful and you would like to retain it in… Read More
  • GRAB THIS AWESOME SOCIAL BOOKMARKING WIDGET WITH 3D EFFECT.In our previous post,we discussed on “How to Add Animated Follow-us widget to blogger”.So likewise,in this tutorial we will be dealing with how to add animated social bookmarking widget with 3D effect.This widget is so cool that when hovered on,spins… Read More
  • HIGHLIGHT AUTHOR COMMENTS IN BLOGGER.Many are cases whereby the visitors of a blog go through the stress of viewing each comment on a post in order to locate the author's comment.In order to save them that stress,it is very necessary to highlight your comments "as a blogger".Apart from … Read More
  • ANIMATED FOLLOW-US WIDGET FOR BLOGS.Have you ever wondered if it's really possible to have an animated widget?...If yes,then I'm glad to introduce to you this animated 3D[three dimension] FOLLOW-US widget which can easily catch the attention of your blog visitors.It was designed in for… Read More

Tidak ada komentar:

Posting Komentar