When
there are no comments made to your posts, there's a link that says 'Be the First
to comment!' and when there is just one comment it says '1 comment so far'. If
you want to make your blog more stylish by replacing these texts with some cute
small icons along with the default Author Name, Post Date, Labels and
Comments... then just follow the next steps:
Steps:
Step 1. From your Blogger Dashboard, click on the Template option, then press the Edit HTML button:
Step 2. Select the "Expand widgets templates" box
Step 3. Search for the below code (press the CTRL + F keys and paste the code in the search box):
If you can't find the code above, look for this one:
Step 4. Paste the following code below/after the code above:
How to customize:
If you want to change the icons, just replace the URL addresses above colored with:
... with the URL address of your image.
Step 5. Save template... and you're done!
Steps:
Step 1. From your Blogger Dashboard, click on the Template option, then press the Edit HTML button:
Step 2. Select the "Expand widgets templates" box
Step 3. Search for the below code (press the CTRL + F keys and paste the code in the search box):
<div class='post-header-line-1'>
If you can't find the code above, look for this one:
<div class='post-header'>
Step 4. Paste the following code below/after the code above:
<font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSORtDdLcJ2S8_jWEyK5jF6mIoyq-DX5JWNeixGeuJMNXOmSlsPPHQgbxRS5G8Iiq2wmHYHeSbmJUfs9FJ-Y-0blH4q66466XWnu5G9_tkj0ZMjMUCMcSJ66oprnydPK4-Z0eQoUBKzB_4/s1600/author.gif) no-repeat scroll top left;padding-left:25px;font-size:11px;'><data:post.author/></font> | <font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcn3a4DSyEKjttAMyAanjKs7FH80zN5z6ZNqobL5jdYLn9oK9_84Y2ihAzkRogdqqAPJP44wmGA_UD9Yc3EmuXsqia6uNmqOVftL05lTwDirisz4kBYH9Plfcg0eAmlZLYhyphenhyphenEvUkvf3aZc/s1600/clock_icon.gif) no-repeat scroll top left;padding-left:25px;font-size:11px;'><data:post.timestamp/></font> | <font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnRVEI9z0myxhyphenhyphenQTC1wjnzSykQJsXxG3x7NId33ZFK6kBcsQbFxy8XfVyJNCNEFbtf17xneOeOcvLLDnVMyn74zVM905c8azDKwVc5pn6cbuf1GmOcN6g2MQnNp1j1yTpLv8afbUvmQg3D/s1600/tag+icon.gif) no-repeat scroll top left;padding-left:25px;font-size:11px;'><b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url + "?max-results=8"' rel='tag'><data:label.name/></a>
<b:if cond='data:label.isLast != "true"'>|</b:if>
</b:loop>
</b:if></font>
<span class='post-comment-link' style='Float:right;'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick' style='background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-o8T-FvsseABN_2Wg0QnGcVCQAkna2VHXguIbF36-hO8Kb12annP7NTtL-YQbJ08j5Hov6DXpiYmuuWsAcCYkbaHgUHCtE7d-Lt5wyw7A7E9iyovTf101jM9BcPJkbUJrj69cJwPE0tB/s1600/comment-icon.png) no-repeat;Padding-left:20px;'><b:if cond='data:post.numComments == 0'>Be the first to comment!<b:else/> <b:if cond='data:post.numComments == 1'><data:post.numComments/> Comment so far<b:else/><data:post.numComments/> Comments so far</b:if> </b:if></a>
</b:if>
</b:if>
</span>
How to customize:
If you want to change the icons, just replace the URL addresses above colored with:
- Red - Author
- Green - Date
- Blue - Labels
- Violet - Comment bubble
... with the URL address of your image.
Step 5. Save template... and you're done!
No comments:
Post a Comment