
How To Add Comment Bubble Just Next To Post Title?
- Go to Blogger Dashboard > Template
- Take a backup of your template
- Click On Edit HTML
- Hit Proceed
- Check Expand Widget Templates chechbox.
- Find below code in your template
]]></b:skin>
add below code just above it
.comment-bubble {
float: right;
width: 48px;
height: 48px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvqzmM4p_nl9Asols5qoZMsQED4VoDDAXKwFMpyrv2exNFQpELt4W9tdR0CdAKDmvn6W9700Tdxr0ZY5gVJ0vxvCtZyuUlwpvkiVkme4eJRqLCXIzevh9mEzf9mqQHBb-IC_e8K-k2S2GD/s1600/helperblogger.com-commentbubble.png) no-repeat;
font-size: 18px;
float: right;
margin-top: -15px;
margin-right: 2px;
text-align: center;
position: float;
text-align: center;
}
Now find for below code in your template
<b:if cond='data:post.link'>
replace it with below piece of code,
<b:if cond='data:post.allowComments'>
<a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:post.numComments/></a>
</b:if>
<b:if cond='data:post.link'>
Now take a preview of your template,if you want to adjust the position of comment bubble then you can change the above CSS values as you need.When you feel that everything is ok then save your template.You can also replace the bubble with your own bubble,just replace the URL of bubble with your own bubble URL.
0 comments: