Navigation : Home / , , , , , / Article : How to Highlight Author comment in Blog comment area

How to Highlight Author comment in Blog comment area

You have seen in may of word press blog and even in Blogspot blog that there is highlighted comment when author post comment and simple comment when there is any guest post comment.That makes something different for author and easily isolates the author over other commenter.We can add Replay to option for blogger comment post by which user can replay particular comment like wordpress blog.You need to follow the steps to highlight your comment in blogger's blog if you are blog owner.
Do not forget to download/backup your blogger template first before changing any HTML code to get back your previews blogger template if you do not like changes you made.

1.Login to your Blogger dashboard.

2.Go to Design > Edit HTML > tick mark the expand widget template.

3.Now find your the code ]]></b:skin> by pressing Ctrl + F.

4.Paste the following code just above that line.
.comment-body-author {
background: #E6E6E6;<span style="color: red;"> /* Background color*/</span>
color: #000; <span style="color: red;">/* Text color*/</span>
border-top: 1px dotted #223344;
border-bottom: 1px dotted #223344;
border-left: 1px dotted #223344;
border-right: 1px dotted #223344;
padding:0 0 0 20px; <span style="color: red;">/* Position*/</span>

5.Now find the following code from your blogger template by pressing Ctrl+F again.
<dd class='comment-body'> <b:if cond='data:comment.isDeleted'> <span class='deleted-comment'><data:comment.body/></span> <b:else/> <p><data:comment.body/></p> </b:if> </dd>

6.The code should be replaced by following code.
<b:if cond=' =='> <dd class='comment-body-author'> <p><data:comment.body/></p> </dd> <b:else/> <dd class='comment-body'> <b:if cond='data:comment.isDeleted'> <span class='deleted-comment'><data:comment.body/></span> <b:else/> <p><data:comment.body/></p> </b:if> </dd> </b:if>

Now save the template and you have done.


0 Responses to "How to Highlight Author comment in Blog comment area"

Do not add any spam messages, as we will strictly delete the spam comments, all content posted on this blog are free for use and for knowledge, do not spoil it with spamming.