Highlight Blog Author Comment
1. Login to Blogger >> Go to Template and click on Edit Html.
2. Check Expand Widgets Elements.
3. Copy the below code and put it before ]]></b:skin>
.author-comments {4. Then find the following code.
background: #ffffff;
border: 3px solid #666666;
padding: 5px;
}
<dl id='comments-block'>5. You have to add blue code at the same position and your position must be correct.
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<b:if cond='data:comment.authorUrl'><data:comment.author/><b:else/>
<data:comment.author/>
</b:if>
said...
</dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='author-comments'>
<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>
<dd class='comment-footer'>
<span class='comment-timesstamp'>
<a expr:href='"#comment-" + data:
comment.id' title='comment permalink'>
<data:comment.timestamp/>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>
6. Now you can see changes on your comments in blogger.
Please give your feedback for this beautiful tip.
No comments: