As usual login into your Blogger Dashboard > Layout > Edit HTML and check the "Expand Widget Templates" option.
Important Step: Now as a precautionary measure please download your template so that you have an emergency backup if in case you create any errors :)
First locate this code in your blogger template.
]]></b:skin>
And copy the following code and paste it above ]]></b:skin> tag
.author-comments {
background: #ffffff;
border: 2px solid #666666;
padding: 5px;
}
Now you have to go to the comment section of your blog. Please note the code may vary for each template so try to find a similar code.
<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" data:comment.id'>
<a expr:name='"comment-" data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
<data:commentPostedByMsg/>
</dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>
<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>
</b:if>
<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='"#comment-" data:
comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>
Now you will have to add the bold text part into the comment code in your blogger template. I repeat, be careful, you wont find the exact codes. But you will have few tags here and there.After this is done paste the bold text in the above code segment.
Now how to style the comment part.
1. background: #ffffff; can be replaced by background: url(http://link_of_your_image.jpg) ;
2. change the border by setting it as higher value if you need a thicker border or make it as 0px if you don't need it. ( border: 2px solid #666666; )
3. If you are smart enough use the img attributes and add a gravatar like the one I'm using here.
Feel free to ask me in case of any doubts. Thanks for reading how to Create Three Column Footer in Blogger. You can also get a free subscription to Chethstudios updates. We will be back with more useful content. Get latest hacks and updates on your email
Using an image as a background w/css as a 'gravatar' thats a slick idea. Awesome!
ReplyDeleteya i have employed almost same code and it looks great P:)
ReplyDeletegreat tutorial !!
This comment has been removed by the author.
ReplyDeletecant.. =(
ReplyDeleteGreat resource. I shall be back after implementing this. Thank you.
ReplyDeleteGreat Resource thank you very much very nice tutorial.. keep it up!
ReplyDeleteThis really good info here interesting, thank you very much.
ReplyDeleteThanks for the trick.. it worked when i was using layout templates but now that have migrated to the new template designer template, it seems not working again. Please, try and help us test on on the template designer templates and maybe, update the post..thanks. Your fan from Nigeria
ReplyDelete