Quantcast
Channel: HiFiFun.Com - Tech Tips and Tricks
Viewing all articles
Browse latest Browse all 393

How To Highlight Author Comments in Blogger?

$
0
0
Friends in our previous posts we published very useful plugins and widgets for your blog. For example How to add LinkedIn Share Counter buttons, How to add a Drop Down Menu and Twitter Fanbox Widget For your blog. Now in this article we are giving you the very useful trick and that trick is How to highlight author's comments in the Blogger's Blog? Yes, this is very useful feature. By using this feature we can easily distinguish the comments by normal users and blog's author. So add this feature in your blog and feel the difference. Don't forgot to share this post with your friends on the social networks by using the socila tab widget from the left hand side.

Steps to Highlight Author's Comments in Blogger!

1. Log in into your Blogger Account and go to Design > Edit HTML.

2. Back up your template first.

3. Then Find the code given bellow by using Ctrl + F.
</body> 
 4. Add the code given below just above the code we found in previous step.

<!-- HiFiFun AUTHOR Comment HIGHLIGHTER START-->
<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(function() {
function highlight(){
$(&#39;.user.blog-author,.ssyby&#39;).closest(&#39;.comment-block&#39;)
.css(&#39;border&#39;, &#39;dashed green 3px&#39;)
.css(&#39;background&#39;,&#39;#FEDFBF url(&quot;;)&#39;)
.css(&#39;padding&#39;, &#39;10px&#39;);
}
$(document).bind(&#39;ready scroll click&#39;, highlight);
});
</script>
<!-- HiFiFun AUTHOR Comment HIGHLIGHTER END-->
5. Then save your template. You are done.

I hope this article is helpful for you. Also try:25% Discount on Domain Registration. Hurry Up!

Enjoy! 

Viewing all articles
Browse latest Browse all 393

Trending Articles