To grow Your Blog, It is Very important to keep good relation betweer you and your visitors. This can be done using commenting and replying your visitor comments.
So Today I tell you very easy steps to highlight Admin comment in blogger....You might be knowing "how to do so" But this is different method using JavaScript.
So Today I tell you very easy steps to highlight Admin comment in blogger....You might be knowing "how to do so" But this is different method using JavaScript.
Related Article:-
- How To Customize Comment Style In Blogger.
- How To Remove Comment Box From Page In Blogger.
- Add Floating Back-To-Top Button in Blogger
- Customize Block-Quote Style using CSS in Blogger
How To Highlight Author Comment 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(){
$('.user.blog-author,.ssyby').closest('.comment-block')
.css('border', '1px solid #e1e1e1')
.css('background','#f1f1f1 url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJSTBgdHZCsgH57Liz5kXINN4OdhwyYEJP1YGYUloZYcDv8iKzWhVI3QNNNWJA53FrFvLls1eO6LW9IADOckwdpqCrgqhUeFM70fhhlnHAA6Bp8rmQytoj8bsLOE-G0YsOdx5uQzL1e0M/s1600/admin_comment1.png") no-repeat bottom right')
.css('padding', '10px');
}
$(document).bind('ready scroll click', highlight);
});</script><a style="display:none" href="http://allin1-web.blogspot.com">Blogger Widgets</a>
- You can Replace RED Colourd URL with your imge....
- Click Save.
No comments:
Post a Comment
Notice: Don't add "backlink". Text with Link will automatically Removed.