Wednesday, 10 December 2014

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/AVvXsEgxiXCJpNSYH6CJ7npAMzNWMRA0Abhm5fHDTIoVJ1rSPX5luxxAmumZrTco1LC8AKUpuya_Qi0Q90wZVP0bFysGduYVmH0K3XAAeKhX1aMTO0KQut5Tg9c0qk-I9rYrjmV0nOyW54HRIGU/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://netoopsblog.blogspot.com">Blogger Widgets</a>
  • Click Save.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...