Browse > Home / / Blogger Comment Avatar

Blogger Comment Avatar

Sunday, September 20, 2009 Posted by One-4-All

New feature from blogger was launched Blogger Comment Avatar. Yes, it will be look like a wordpress style. Yesterday i was use MYBlogLog Comment avatar in this blog. But, sometime it can make my blog was have hard loading. My Bloglog comment avatar using a script. As you know, if we use a lot of script, it can make our blog become slow. Now, i was change MyBlogLog comment avatar with the original, Blogger Comment Avatar.

This feature was enable in template that provide by blogger. I mean when you are use another template, you must add some code in to your template source. If you want to enable Blogger Comment Avatar in your blog, here is several steps that you must doing.
  1. Login to your blogger account
  2. Click "Layout" Tab in your dashboard
  3. Click "Edit HTML"
  4. Find this code in your template source.
    #comments-block {.......}
    Add .avatar-comment-indent into that code. Now the code will be look like this one.
    #comments-block .avatar-comment-indent {........}
  5. After you modified that code, there are another code that you must add in your template. Find this code in your HTML source
    <dl id='comments-block'>
    Change it into this one.
    <dl expr:class='data:post.avatarIndentClass' id='comments-block'>
  6. Below in that code, you will find this one.
    <b:loop values='data:post.comments' var='comment'>
    Now, you must add this code right after that code.
    <dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName'>
    <b:if cond='data:comment.favicon'>
    <img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
    <a expr:name='data:comment.anchorName'/>
    <b:if cond='data:blog.enabledCommentProfileImages'>
  7. Now the last step is add the closing code. Scroll down your mouse and you will find the closing code "<b:/loop>".
    Add Another closing code "</dt>" before that one, and save your edited template source.

Here the result that i have made in my blog.
Blogger Avatar
But, an avatar image will be show when you or somebody using a blogger account in their comments. It will not appear if using Name/URL in their comments. Hope this blogger trick tutorial will have you to enable new blogger feature.

Best Regard
One-4-All | Blogging News and Tips


IRFAK on September 21, 2009 at 1:21 PM said...

siippp infonya!!

blog buat bloggers on September 21, 2009 at 1:26 PM said...

artikel cara menampilkan Blogger Comment Avatar nya sangat bermanfaat,

makasih sob, sukses selau yaaa

Soufiane LeBlogger on September 21, 2009 at 8:38 PM said...

I am Soufiane from

To replace the blank space for Anonyous comments with a 35x35 image, i added these lines of CSS (for example, just before ]]></b:skin> ):

/* Avatar */
.avatar-image-container img {

(This will resize the small favicon (from 16x16 to 35x35) displayed for OpenID, Wordpress, LiveJournal, Typepad, AIM, the OpenID...)

Post a Comment