How To Highlight Author Comments
This post will helps you get special attention in your blog as ' Admin said ' . By using below scripts in your blog author comments will highlight . follow step by tutorial not to get messed .
Note : First Backup your blog template .
Tutorial : How To Backup or restore blogger template
How To Highlight Author Comments In Blogger
- Go to Blogger dashboard section .
- Now navigate to Edit Html section in Template tab .
- Find the ]]></b:skin> in your template .
- Now add the below script ' Before ' it .
.comment-body-author {5. Save your Template .
background: #CEF6E3;
border: 2px solid #FA5858;
padding: 5px;
}
Adding Of XML File In Template :
- Find the tag <dd class='comment-body'> Or <data:comment.body/>
- After finding the above tag . Select the entire code as shown below .
<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>
After Selecting the code now add the below code Before it .
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>
- Now add the below code after it .
</b:if>
Job is done ! Save your template
If you have any difficulties in adding code to template or any errors feel free to comment below your comments always appreciated .
How To Highlight Author Comments
Reviewed by sunny
on
09:25
Rating:
Thanks a lot for sharing this info. It worked perfectly on my blog Tiny Serval
ReplyDelete@Sreeraj M Ajay
DeleteYa sure it will work perfectly , Keep visiting for more updates : )
NIce Trick :) Visit My Blog also ;) WwW.gofferkart.CoM
ReplyDeletewww,gofferkart.com/
ReplyDelete