As you would have checked my last blogger template-The latest Blogger template for sure and must have liked it.I have made 3-4 more proffesional templates for you,but unluckily today i got my exams schedule and will not be able to post these templates for you till 30 of july,so you have to wait for them ,as they need little finishng touch and testing with an installation guide,so will post these templates in beggining of august.
So we just continue with out tutorial on how adding comment bubble to top of each blogger posts.Some tutorials like these which you would like to read for sure are show labels as tags like woork and show post date as calender widget.
For demo of comment bubble you can check the my blog as i have comment bubble or check the demo blog too.
Now To make comment bubble,Just
Login to blogger > Then go to Layout > Edit/Html > Expand Widgets > Press Ctrl+F
And Search For ]]></b:skin> tag and place the below codes before it.
.comment-bubble {
float : right;
width : 48px;
height : 48px;
background : url(http://i43.tinypic.com/dljpzo.jpg) no-repeat;
font-size : 18px;
margin-top : -15px;
margin-right : 2px;
text-align : center;
position:absolute;
padding:0px 0px 0px 0px;
}
In red above is the image link of bubble,you can use yours and don't forget to change its width and height also of the image you use.To adjust the bubble position you can edit the distance from margin-right and margin-top properties of css.
Now after adding above css just find the below codes and add the red codes in between them as i have shown below.
<b:includable id='post' var='post'>
<div class='post hentry uncustomized-post-template'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'><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'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
Afer adding red codes in between them just preview your template,if comment bubble is ok,just save your template and you are done.Now you have added an comment bubble to bog in an very easy way you wouldn't have thought of.Enjoy this hack and let me know you liked it or not.
And Friends i will try to schedule one or two posts for you,but that for sure will be small blogger tutorials which also will be very useful for you to learn a lot.
Wish Me Good Luck For My Exams.





54 comments:
nice hack
thank i will try it and i will teld if its works...
i must try this
thank u Anshul
Hey you got a wonderful blog covering interesting article written in simple understanding
language. I have bookmarked your blog for my future use.
Thank you
sagar
Download free CSS templates
@ ritesh send me your blog codes i will install and send to you at anshulaffprg[at]gmail.com
Hi, I am also having a problem installing it.
Can I also send my codes to you?
@ hikoo ya just send me the codes i will do it for you if possible.
well this 2nd para codes r not there at all in my blog templates, how do i add red codes after it..........do reply soon
expand widgets and then try to search then you will get
Hi Anshul..Nice hack ..I have tried to float it to left with some change in the CSS
.comment-bubble {
float : left;
width : 48px;
height : 48px;
background : url(http://i43.tinypic.com/dljpzo.jpg) no-repeat;
font-size : 18px;
margin-top : -15px;
margin-right : 2px;
text-align : center;
position: relative;
top: 14px;
}
Hope it helps
check the preview @ http://bloggernutshell.blogspot.com
I absolutely love your blog.....I have done this bubble but really would prefer it slightly more to the left and slightly lower so that it looks as though it belongs to my post but I keep changing the figures but it's not budging. Do you have any suggestions please.
Thank you.
@chic increase right value and decrease top value it should move for sure.
Dear Anshul
Thank you, I've tried that but it's still not moving at all. Very strange.
@chic then i would be needing your codes or admin to your blog to work it out.The only way i can help out.
Hello anshul...
Yaar I am facing problems making a site map for my blogger how to do it? help me out
Anshul i have searched in your entire site i could not find a single article regarding how to make a sitemap for a blogger... Hope you can still help me out...
@masil its posted on fornt page of my blog and you are not able to view it.Here it is...
http://www.anshuldudeja.com/2009/09/table-of-contents-widget-for-blogger.html
K thx Anshul. But still it doesn't clear my concept regarding the problems i am facing
Ok what if i make a sitemap for blogger blog how can i register it with the webmaster tool for google do i need to do something differently or ..........
I dun Know what to do. Can u help me out
you must be knowing webmaster tool for google requires a link in site like:
www. kaka . com/sitemap
which is not possible with blogger blog now what to do?
@masil oh that is the problem.To add sitemap for blogger.Just add these 4 adresses.
http://yourblogname.blogspot.com/feeds/post/default
http://yourblogname.blogspot.com/feeds/post/default?alt=rss
http://yourblogname.blogspot.com/atom.xml
http://yourblogname.blogspot.com/rss.xml
dear i did it but webmaster tool gave me a list of errors. but i added only one of them.
@masil add all four and dont worry about errors it use to give it as blogger is not very seo and it will give errors about lable pages for sure.
yaar so if it is giving some errors still it would crawl my pages?
Heyzz.
Anshul Guide me from the very start if you dont mind..
1- i need to extract a xml sitemap for my site from a sitemap website...
2- then do i need to copy that xml text and paste it to a new article and publish it (post article)?
3- i need to make a feed of it.
4- after making a feed i need to copy the link to my webmaster tool..
IF I AM MAKING A MISTAKE ANYWHERE PLEASE GRAB IT AND RECTIFY IT.....
Thanks Anshul
@masil not able to understand exactly what you wanted but i think that work for websites not for blogs.Just only one method to add sitemp of blog is only which i told by adding all four adress above to it.There is no other way to do that,you will end up wasting time,you are trying to do.
And extarct sitemap from other site is done with websites like you had pages on google sites extarct sitemap of it and then submit to google webmaster.And its accepts succesfully and take it.But in case of blogs it dont happens so dont waste time.Bcz blogger sitemap is feed adress and we are submittting only that to google webmasters.
Anshul yaar sorry to say but i also cant get ur point.
Can you do it for mee???
guys, change "margin-left" to "margin-right" and increase the number. it moves! awesome trick.
Please, in my blog the numbers don't work.
Ok, I have done. It was an error in the colours.
how to change the position of the post number?
@le only position control is text-align center
do it left or right.
oh too bad. my problem is the number isn't in the centre of the buble - it's too high.
I am having the same problem the number will not center in the bubble.
@Le Buduar and Clearly
I have added padding feature in css above just edit its value to adjust the number in the comment bubble.As i haven't added it before but due to problem to readers i am also editing post and writing about it.
Hello Anshul,
I have tried this hack, but for me the bubble is going to extreme left. Can you help me please ??
@MS just control float option to left or right and margin-right option to control it.Or use margin-left if nothing works.You have to adjust yourself.Or just can contact me at anshulaffprg[at]gmail.com if you not able to do it.
will it work for disqus
gamespump
anshul how to keep a default value in comment bubble?
@cool can't get you
its nice and sweety views..i'll be check this method soon..
thank for share, can i translate this post into vietnamese and publisht it in http://www.vnblognet.com
@Vn ya sure but with backlink to my post.
nice!!!
do you know how to remove their original "comment"
because i have 2 "comment backlins" included the bubble comment
www.mietos.blogspot.com
@mie just exand your codes and find below codes and remove them
<span class='post-comment-link'>
<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'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
</b:if>
</b:if>
</span>
thankz!!!!
now the problem solved...
Hi, can you tell me how to put the intense debate's number of comments inside the bubble? Thank you very much. My blog: ficatoa.blogspot.com
@sandro sorry dont know installing intense debate's comment is another thing but never tried these hacks after installing intense comments.
Thanks Anshul, I'm testing many ways here. Very hard to do that but...
hai anshul .am a very like your templates and hacks :) thanks to your nice jobs .am using Melitus template for one of my blogs. i've need your help to add number of comments on home page .pls help me :)
@noushad melitus is magazine style not designed by me , its coding is lil different that simple ones.So difficult to guide u in it but i can say codes you find i say you will find codes twice me telling to find so use for the first one i think.
Hey dude, Hows ya, m HB here... Remember me..??
Hey i wants to ask you something..
Hey i tried to apply the Disqus comments, it did well..
Bt i've applied the comment counter bubble at the post title part..
Bt when i try to apply the disqus comments, then the comment bubble do not works..
can you help me out form this..!!
Waiting for ur reply..
@hb i dont much about disqus i never used.But the thing is you have to take out codes which gives comment count fro disqus.As the tutorial will be same only the red codes i have shown in tutorial need to be chnaged with discus count.That you have to find what codes are there.I dont know about disqus.
@Anshul i'm having a little problem.
Here: http://psn-brasil.blogspot.com/ (my test blog)
How can I fix the bubble?
@rp 4 the template u added there is restriction there in title i have applied fixed height to it after it the content gets hidden.So image nt coming complete.Use small image.
Post a Comment