Thursday, 23 October 2014

Highlight Author Comments in Blogger

Highlight Author Comments in Blogger

In the Name of Allah who is the Most Kind and Merciful 

Highlight Author Comments in Blogger in threaded comment System
I already told you that comments are the best way to stay connected with your blog visitors.
Sometimes, visitors can not understand who is replying there comments in blog, I mean to say that admin comment is not highlighted in blog so here I am going to teach you how to high light Admin in Threaded comments.
Enjoy this and Don't Forget to Share and Comment this !

How To Highlight Author Comments In Blogger

  • Sign In to Blogger Dashboard
  • Go to Template -> Edit HTML
  • Find </body> and copy the following code above it

<script type="text/javascript">
    $(function() {
      function highlight(){
        $(&#39;.user.blog-author,.ssyby&#39;).closest(&#39;.comment-block&#39;)
          .css(&#39;border&#39;, &#39;1px solid #e1e1e1&#39;)
          .css(&#39;background&#39;,&#39;#f1f1f1 url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ-uwgIWni_Zi-OUaVHnqyzOQKLauxFuJrIM_fl2Y22J3ImTfZZi5sgG_0ytqIBbmoN1_-hbIV3Ofsmy3sARFoaVuH716Qcerzg7_eTnErMmNnIsa2QJf7E10qxUxcJ68QEczxYUmoKT4/s1600/admin_comment1.png&quot;) no-repeat bottom right&#39;)
          .css(&#39;padding&#39;, &#39;10px&#39;);
          }
          $(document).bind(&#39;ready scroll click&#39;, highlight);
                       });</script><a style="display:none" href="http://itgooglepk.blogspot.com">Blogger Widgets</a>
  • Click Save


EmoticonEmoticon