
Recent comments widget is a famous blogger widget among the bloggers. The Recent Comments Widget for Blogger displays recent blog comments on your sidebar, showing a snippet of comment. If you want to encourage your readers in leaving comments on your blog, this is a widget you shouldn't miss.
So today in this post, I am going to tell you how to add stylish recent comment widget with circle image thumbnail on it.
Lets start..
- Go to Blogger Dashboard > Layout
- Click 'Add a Gadget'
- Select HTML/JavaScript
- Then copy the code bellow and past on it.
Code;
<style type="text/css">
ul.w2b_recent_comments{list-style:none;margin:0;padding:0;}
.w2b_recent_comments li{background:none !important;margin:0 0 6px !important;padding:0 0 6px 0 !important;display:block;clear:both;overflow:hidden;list-style:none;}
.w2b_recent_comments li .avatarImage{padding:3px;background:#fefefe;-webkit-box-shadow:0 1px 1px #ccc;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden;}
.avatarRound{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;}
.w2b_recent_comments li img{padding:0px;position:relative;overflow:hidden;display:block;}
.w2b_recent_comments li span{margin-top:0px;color: #000;display: block;line-height: 1.4;}
</style>
<script type="text/javascript">
//<![CDATA[
// Recent Comments Settings
var
numComments = 5,
showAvatar = true,
avatarSize = 50,
roundAvatar = true,
characters = 30,
showMorelink = false,
moreLinktext = "More »",
defaultAvatar = "http://www.gravatar.com/avatar/?d=mm",
hideCredits = true;
//]]>
</script>
<script type="text/javascript" src="http://bloggerblogwidgets.googlecode.com/svn/trunk/w2b-recent-comments-w-gravatar.js"></script>
<script type="text/javascript" src="http://your-blog-address.com/feeds/comments/default?alt=json&callback=w2b_recent_comments&max-results=5"></script><div><a style=" font-size:9px; color:#3B78CD; text-decoration:none;href="http://goo.gl/y2Ruo"> Get This</a>
</div>
- change your-blog-address
- Click Save.






question, how do you get the speach box where your 0 comments are? and the "post a comment" is?? is there a widget or code for that
ReplyDeleteNice post.. Thank you for sharing this widget man.. I like it.. Keep safe and stay good and keep sharing..
ReplyDeleteBlog: MoreBlogTools
thanks I have applied in my blog...check it out
ReplyDeletehttp://www.bloggerspice.com/
thanks for this .. it works beautifully...
ReplyDeletewatch it at
http://techntrickmania.blogspot.com