Add Floating Share Buttons To Your Blog’s Sidebar (For Blogspot)

Shortlink:

Apart from working on traffic and search engine optimization (SEO), there’s a need to intergrate your blog with popular social networking platforms. A floating share buttons (social bookmarking) widget by the right of every page is just one of the gadgets you must add to your blog if you intend to get free traffic from facebook and twitter. I wrote a post last week that went viral thanks to the power of facebook sharing. The post received close to 500 facebook likes in just a week! Underestimating the power of share buttons is like neglecting a major source of traffic to your blog. I’ve already written several posts on integrating your blogger hosted site with facebook, google plus and the rest of them. These posts include adding like buttons to individual blog posts, adding google plus buttons to blog posts, facebook comment box for blogger and large share buttons under blog posts among others.

Having a floating share buttons widget makes it even easier for your blog visitors to share your blog posts they find interesting. Unlike the previous ones, it’s easy to get this done as you won’t need to do any sort of HTML editing on your template. The floating sidebar sharing widget comes with the most popular social sites. You can see the widget just at the right side of this page and it scrolls with the page, leaving your visitor no choice but to share your content.

How To Add Floating Share Buttons On The Sidebar

1. Log in to your blogger account and click on Design

2. You’re now looking at your blog’s layout, right? Click on Add A Gadget on the sidebar.

3. Select HTML/Java Script

4. Paste the code below into the box and save. There’s no need for a title.

<!–SideBar Floating Share Buttons Code Start–>
<style>
#pageshare {position:fixed; bottom:15%; right:10px; float:left; border: 1px solid black; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#eff3fa;padding:0 0 2px 0;z-index:10;}
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;}
.fb_share_count_top {width:48px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:49px !important; -moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:8px;}
</style>
<div id='pageshare' title="Share This With Your Friends">
<div class='sbutton' id='gb'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="box_count" show_faces="false" font=""></fb:like></div>
<div class='sbutton' id='rt'><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" >Tweet</a><script src='http://platform.twitter.com/widgets.js' type="text/javascript"></script></div>
<div class='sbutton' id='gplusone'><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="tall"></g:plusone></div>
<div class='sbutton' id='su'><script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script></div>
<div class='sbutton' id='digg' style='margin-left:3px;width:48px'><script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script><a class="DiggThisButton DiggMedium"></a></div>
<br/><div style="clear: both;font-size: 9px;text-align:center;"><a href="http://geek.ng/2011/09/sidebar-floting-share-buttons-large.html" target="blank"><font color="black">[Get This]<font></font></font></a></div></div>
<!–SideBar Floating Share Buttons Code End–>

5. Save the widget and preview your blog.

If you already have a google plus button above or below your posts, the one in the widget might not appear. It seems you can’t have two +1 buttons on a page.

If you’re using a dark template, you can try out the code below if you don’t quite like the first one:

<!–SideBar Floating Share Buttons Code Start–>
<style>
#pageshare {position:fixed; bottom:15%; right:10px; float:left; border: 1px solid black; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#000000;padding:0 0 2px 0;z-index:10;}
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;}
.fb_share_count_top {width:48px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:49px !important; -moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:8px;}
</style>
<div id='pageshare' title="Share This With Your Friends">
<div class='sbutton' id='gb'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="box_count" show_faces="false" font=""></fb:like></div>
<div class='sbutton' id='rt'><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" >Tweet</a><script src='http://platform.twitter.com/widgets.js' type="text/javascript"></script></div>
<div class='sbutton' id='gplusone'><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="tall"></g:plusone></div>
<div class='sbutton' id='su'><script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script></div>
<div class='sbutton' id='digg' style='margin-left:3px;width:48px'><script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script><a class="DiggThisButton DiggMedium"></a></div>
<br/><div style="clear: both;font-size: 9px;text-align:center;"><a href="http://geek.ng/2011/09/sidebar-floting-share-buttons-large.html" target="blank"><font color="black">[Get This]<font></font></font></a></div></div>
<!–SideBar Floating Share Buttons Code End–>

For wordpress users, You can check this post – Floating Share buttons for WordPress.

These floating sidebar share buttons will surely make you get more facebook likes. Share this post if you find it helpful.

Comments

  1. Thirumalai Kumar says:

    it worked for me guys u too use this cool widget in your site………

  2. Heeren Tanna says:

    how to use on other side.

    • Search for this: #pageshare {position:fixed; bottom:15%; right:10px; Change it to this: #pageshare {position:fixed; bottom:15%; left:10px; Note that you're only changing right to left.

  3. The top FB button does not have the correct count for my page. Can you please tell me how to edit this?

  4. Don Caprio says:

    Of course it's the same as the one I'm using here. It counts "likes" and "shares" together

  5. how to use it on right side???

  6. Search for this: #pageshare {position:fixed; bottom:15%; right:10px;

    Change it to this: #pageshare {position:fixed; bottom:15%; left:10px;

    Note that you're only changing right to left.

  7. Can You make The icons PNG Images And But A FeedBurner Icon Thanks

  8. Jonathan Acabo says:

    Thanks…I really love it…it really work…. http://jonpageblog.blogspot.com/

  9. Just Beautiful says:

    nice one !

  10. Just Beautiful says:

    it doesnt show the correct number of people following me on twitter and facebook? How to correct it?

  11. Of course it does…it shows the correct number of shares, likes and tweets.

  12. Cool ^_^

  13. Anika Chowdhuri says:

    You have written well. go ahead Do you want to download Famous Movie? visit here http://3dmoviz.blogspot.com/.

  14. Maria Kristina Operario says:

    woooooooooooow it really worked for my blog thaaank you!

  15. amazing…..hahah it worked for my blog. thanks!

  16. How do I make the facebook like button go straight to my facebook page like normal facebook like buttons, what part of the code do I edit

  17. @Don Caprio – Don, I noticed that sometimes I have my Google + button and sometimes I do not. Can you please tell me what comes to mind about that? Have you encountered the same with yours or know of someone that had this issue because of something they did?

  18. Ah, it is happening w/ yours, too. I have a snap shot if you would like to see.

  19. It's exactly the same here too and I haven't been able to figure out how to fix it. I always assumed it was due to my slow connection.

  20. I think that I have fixed it on mine. I think I had an extra Google script.

  21. nice post.thnx for sharing.check this also it will be useful. how to add any share button you want to this widget http://www.tech-cave.com/2011/12/add-any-share-botton-to-floating-share.html

  22. i guess the facebook like on this floating toolbar counts the no. of likes for the current post being displayed. if i am right please tell me how to change that to show thw no. of likes of the facebook page

  23. Aditya Pandey says:

    I did everything as you write here for automatic redirection of Opera Mini to WAP2 but when I open it on Opera Mini, PHP Error Message appears “Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/*********/public_html/forum/index.php on line 114″. Please help me. I want to redirect people to this WAP2.

    • I was wondering how this comment appears on the wrong blog post. It should be here – http://www.doncaprio.com/2011/10/customizing-simple-machines-forum-smf.html Anyway, I think you made a mistake editing the file. You need to retrace your steps or restore the default index.php from SMF package and try again.

      • Thanks a lot properly in most level societal symbols usually are an important items for ones internet site as well as each and every tumblr need to create this specific device for the web page the following is an additional scrolling discuss icons with blogger the in addition beneficial however, not much better then you definitely,: )

  24. Ebipade Enienghan says:

    Thanks. This was helpful. For a long time I have been trying to implement share buttons as well as like on my blog. Now I have added, thank to this post. However, when I click the like button, my friends do not see that activity unless they are viewing my profile. How do I solve that? I intend to use like button to drive traffic to my blog. But unless my friends see activities of friends how will the traffic increase?.

  25. Shanky Sahni says:

    Hi thanks Doncaprio, You are doing a great job here.I recently added this widget to my blog.It is working properly but there is a small problem.After adding this widget to my blog there is small blank rectangular box on the right side of my blog.I will be really thankful to you if you could solve the problem. Here is my blogspot blog- http://gadgetsmaniac4u.blogspot.com Looking for your reply.

    • I checked your blog just now and everything looked ok. I couldn’t find the blank space and I guess you’ve resolved the issue.

  26. Shanky Sahni says:

    Hi Don Caprio, Thanks for looking into my blog but the issue is not resolved yet.There is a box between the sponsors and facebook like box on the right side of my blog.It is having same width other widgets but small height.It appeared after inserting floating buttons code.I want to remove that.Please help me. http://gadgetsmaniac4u.blogspot.com/

    • I checked again and even viewed the page source but there was nothing between the widgets. I think the space is normal though.

  27. seo company | seo services says:

    thanks! this is really very nice button code !

  28. Shanky Sahni says:

    Hi Don Caprio, The problem is solved now.A friend helped me.Thanks for looking into my blog.You are so helpful.More power to you and more success to your blog.

  29. Natalie Perez says:

    How do I change the buttons? I want the sidebar to look like this sidebar, http://stellarcorpses.com/ Please write me back!

    • Don Caprio says:

      There’s no way to make this particular one look like that except one comes up with a different code, changing the layout and css. Better still, you can run a web search.

  30. Hello, thanks for the code. But please can it work on wordpress too?

  31. Cindy Sandelin says:

    Thank you so much! This is just what I was looking for! Not sure how it works with each different website, but I’m sure glad it does!

    • Don Caprio says:

      The floating share buttons sure works on blogger, wordpress and any other site that supports HTML. Just insert it somewhere in the body.

  32. Love this, thanks!! Is there one which has link to pinterest too?

  33. The World of Deej says:

    I installed this tonight and love it but hoping for a bit of help. If you check out my blog you’ll notice I have a facebook like box on the right side of my page. I only want the FB share button on the floater, but when I remove the like it causes the one for my page to stop working. Man that’s a lot of using the word like. Is there something in the code that I’m missing?

    • Don Caprio says:

      You only need to remove this code: <div class='sbutton' id='gb'><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="box_count" show_faces="false" font=""></fb:like></div>

  34. Chibi Jeebs says:

    This is great – super-easy instructions. Thank you! :) Is it possible to add a “pin it” button for Pinterest?

  35. Buddy Blogger says:

    The for the great help buddy.

  36. Lok Bahadur Thapa says:

    very very helpful..thank you very much :)

  37. Awesome post ,thanks for sharing its very helpful .

  38. Hello, How can I use the code for post pages? It displays on home page only at present in blogger. Regards

    • Don Caprio says:

      The widget appears on all pages by default except you’ve already done something preventing the widget from showing.

  39. MrTechpathi says:

    Thanks a lot for the info. I have integrated floating to my website www.mrtechpathi.com …

  40. It works fantastic on my website! Please check and leave you feedback www.findingnino.com

  41. any tool for wordpress?????????

    • Don Caprio says:

      Yes, you can read this – http://www.doncaprio.com/2012/01/how-to-add-floating-share-buttons-to-wordpress.html

  42. dababismasrya.com says:

    thanks very match

  43. Wallpapers World says:

    Thanks a lot its working in my website also http://free-wallpaperz-download.blogspot.com/ is it possible to float the menu in the bottom of the page?

  44. Wallpapers World says:

    can you please help us.. to float the share menu in the bottom of the page

  45. I tried to add the code in my blog http://www.ebooksdownload.tk and it really worked great.Thank you.

  46. Its working bro…Thanks!

  47. Qwinki.com says:

    Thanks! It works perfect!

  48. thanks it works…!! btw, I recommend you to change the position of your floating widget…coz it’s covered by your next and previous button… :D don’t forget to visit my blog at Sepeda Motor Injeksi Irit Harga Terbaik Cuma Honda • Tips Blog • Hitsuke

  49. I try to add in my web http://www.czoot.com/, But in my laptop it works grt , But when i saw intomy desktop ,it become prob . Just my site loading and loading . my site is http://www.czoot.com/ please tell me what i do ?

    • And it’s the same when you refreshed? If you’re having problems with it, I suggest you remove it but I’m using it on a couple of sites without any problem whatsoever. You connection speed too might have dropped.

  50. hassan elyas says:

    hey don caprio ! your awesome ,…it works great…was searching since long time :) thanks alot … my blog is www.androidcop.blogspot.com

  51. nice thanks u very much…………

  52. magic! kudos!

  53. Thanx a lot. Really worked on my blog. Just check it.

  54. thanx a lot. http://hottest-tips-and-tricks.blogspot.in/

  55. phan mem crm says:

    Awesome! works perfect, but does anyone could post something like these social media counts will reflect the same count on other post or page?

  56. AWESOME!! Thank you so very much :)

  57. Lemonadeflirt says:

    Thank U so so so Much it Works for me :) ) )

  58. WhisperWood Cottage says:

    Fabulous! Works perfectly! Have you had a chance to look into adding a Pinterest option yet? That would be much appreciated!

  59. Kathy, Petticoat Junktion says:

    thanks for the floating widget, you’re awesome.

  60. gonzalez says:

    thanks for oyur widget http://funny-indian-pics.blogspot.com

  61. Tnx for the great post! It works really great! Easy to do also. Only one question, how do i get nice share buttons on the mobile website of my blog? iDevizes.blogspot.com a blog all about Apple, iDevices and iOS

    • Don Caprio says:

      I don’t know much about customizing blogger’s mobile template, Jitendra. It would’ve been different if it were wordpress. You can only activate blogger’s default share buttons which also appears on mobile.

  62. It Looks Great in my Blog, Thanks

  63. how can i change floating to left side of my blog www.techiedas.blogspot.com

    • Don Caprio says:

      Search for this: #pageshare {position:fixed; bottom:15%; right:10px; Change it to this: #pageshare {position:fixed; bottom:15%; left:10px; Note that you’re only changing right to left.

  64. Thank you so much, been looking for this forever! I have to make it perfect tho, tweak here and there :)

  65. Thanks For Sharing This Amazing Post !! :)

  66. Button added and it worked properly on My BLog!!! Thanx for the post Really great help!!!!!!

  67. amazing !

  68. munir ardi says:

    it’s work and looking elegant in my blog thanks

  69. muazfaris says:

    i think many blogspot user will like this post.. wowo.. thank you again!

  70. Vineet Digga says:

    worked like a charm. Thanks man. thanks a lot!

  71. mohamed tamim says:

    thank you very much

  72. thanks for sharing

  73. Really cool widget, thanks a lot man!!! :)

  74. Lizanovia M. Hadi says:

    Thank you, Don! This is what I’m looking for. I remove my old widget and replace it with this one :)

  75. thanks!

  76. Thanks a lot for this! :) i loved it! but there is some problem with the top most facebook like button, it doesnt show anything! plz help :) Thanks in advance! – Blog address: http://c5-nokia.blogspot.com

  77. thanks! this is really very nice button code !

  78. Great widget! Thanks so much! I saw that there was a question about adding the Pintrest button into this earilier, but didn’t see the code. Do you have a code we can add in order to include Pintrest or the “Pin It” button into this gadget? Thanks so much, so easy to use! :)

  79. Nice Post.. Thanks..!! http://www.salmankfc.com/

  80. nice.. http://www.salmankfc.com

  81. Funny Jokes Daily says:

    Thanks for sharing! :)

  82. vinit shah says:

    my site is asking for the url

  83. kuldhir says:

    Thank you so much for this code. I cannot express my feelings in words. I searched for this code all around the web and i found it only on your website

  84. caprio whenever i use my site on low resolution ( or press ctrl and + ), the social buttons merge into the post. Can you solve this because it reduces the readability of the blog. instead of floating over the post it should move away with decreasing resolution like in this blog : www.buzzparas.com. Please help me soon with this problem. (And one more thing , though this is not my priority – Please do tell how to change the facebook like to work for whole site instead of individual post.)

  85. Nice Jobs, Thanks

  86. Can you share us the code with pinterest as well? I see you have added pinterest but I cannot find the code elsewhere. It’ll be much appreciated. Thanks!

    • Don Caprio says:

      Actually, I’m using a WordPress plugin abut I’ll see if I can intergrate Pinterest Button along with this. I’ll post an update if it gets done.

    • Don Caprio says:

      It’s been updated – http://www.doncaprio.com/2012/05/adding-floating-share-buttons-with-pinterest-pin-it-for-blogger.html

  87. Uwazie Simon says:

    I love the idea but can it be integrated in smf ? if yes what color will suggest for my forum @ www.obasimvilla.com/forum

  88. Skin care says:

    Great post. thank you. i will implement this soonest

  89. Nice one. It work for me. Thank you so much

  90. I can try

  91. Divyansh says:

    Hey don, i added this code in my template instead of widget so that it appears only in posts and not in homepage. But after doing that my facebook like box is not appearing in sidebar ( that 300*300 like box of my facebook page)

    • Don Caprio says:

      That shouldn’t be, I have no idea why that’s happening except something is probably messed up within the template. There’s one other widget you may want to try out, the updated version of this: Adding Floating Share Buttons with Pinterest ‘Pin it’ to Blogger Posts – It’s specifically made for post pages.

  92. Crunkatlanta says:

    kool site …i always learn something from your site – i see you into music . I am also. Music promoting that is ..http://www.crunkatlanta.com

  93. Smita Singh says:

    hi…thx for the code….following u now…for more updates….

  94. Terri Two Pink Peas says:

    Thank You SO much for this AMAZING and Super SIMPLE gaget! I LOVE it! It is one of the easiest gagets to install. This for sure is a MUST for any blog. Love, Love, LOVE it! I really appreciate it so much! Terri of Two Pink Peas www.twopinkpeas.com www.facebook.com/twopinkpeas www.twitter.com/mytwopinkpeas www.pinterest.com/twopinkpeas

  95. blogger listner says:

    nice post i will add this into my prowser

  96. Very nicely explain every thing. Thanks for the post. Please provide how to add floating share point on wordpress blog also .. www.thingsoverflow.com

    • Don Caprio says:

      You may check this post – Adding Floating Share Buttons To WordPress Without Plugin. You can also use Digg Digg plugin. it’s what I’m presently using.

  97. Youtube Plugin Wordpress says:

    Hi, do you have WordPress version for this? I love this floating social media icons.

  98. Can we add more tabs? If yes, can you please show me on how to do it? I’ll be glad if you can help me. Thank you. :)

    • To add more buttons, you need to get the code for the button and insert it inbetween the existing ones. BTW, there’s an updated version of this with pinterest button – Adding Floating Share Buttons with Pinterest ‘Pin it’ to Blogger Posts

  99. thanks alot for this tutorial I just installed it .. :)

  100. Wonderful Trick… i love that… no where on web i found it but only yours website. Thanks

  101. for some reason, sometimes when the page is loaded on my blog, the sidebar is over the blog, not on the empty sidebar. It also doesn’t include all the buttons you have listed. Any help?

  102. not showing in the empty side bar area of my blog..sometimes shows up in the sidebar itself covering some other info.

  103. Is this code for blogger plateform or i can use it to any other plateform.

  104. its working fine on my blog http://javacourseblog.blogspot.in but i am having positioning problem plz help me

  105. HellaQuirky says:

    Thanks for this helpful, and super easy tutorial. I installed it into my blog without any hassle. Without content like yours and others on the internet, I doubt I’d have made as much progress modifying my blog! Thanks, again.

  106. very nice post thanks for sharing

  107. Shemul49rmc says:

    Thanks for the code its really helpful.

  108. Googma Sansar says:

    Thank you for best sharing codes. it is really helpful for me to add a share widget in my blog. i appreciate your contribution.

  109. can i out this Floating share button on blogger/blogspot ?or just for wordpress self hostinga?,

  110. can i put this Floating share button on blogger/blogspot ?or just for wordpress self hostinga?,

  111. hey thnx for the help mate :) ! http://progamerzarena.blogspot.in/ http://progamerzarena.blogspot.in/ http://progamerzarena.blogspot.in/ check out my awesome gaming blog too ;)

  112. pls don cappy..lolzz. i want you to gimme the code to add: you may also like this on my blogger blog on my blog. thanks

  113. Thanks a lot Don!

  114. Nigeria schools says:

    Thanks Dc, i really appreciate this, thanks alot.

  115. thank you Don Caprio, i am really impressed to view your article its really helpful and i was looking for this, i am going to apply it on my blog……

  116. Pratik Bhuite says:

    Woaw This Is just what i’m searching For. Thanks

  117. Game Mario says:

    thanks برنامج علي متصفح صور بنات صور حب صور حزن برامج كمبيوتر

  118. asim nawaz says:

    Thanks for this nice social bookmarking tool. It really increases our social media presence. I have just one suggestion . Please also add a demo link here. Thanks. Keep the good work going.

  119. Come TO Learn says:

    Great work. i got easily …….

  120. vijay lathiya says:

    nice article, its very helpful.

  121. frank joseph says:

    I remembered back then, i used to visit your site, don to check out tweaks to customizing my blog, and today i needed to add a floating share buttons to my new blogger, and this is still working! I guess you should dedicated your time again to write about this once in a while. Thanks.

  122. sadia shaikh says:

    very precious work you sharing with us and thanks for the code you providing to us here for more helping for bloggers…social media is more power Full tool.

  123. Thanks Don Caprio, You are Genius :)

Share Your Comments & Feedback:

Please do NOT use keywords in the name field because they won't be linked to anything anyway...just use your real name. Let's try to have a personal and meaningful conversation.

Commenting Note(s):
To insert code into comments, use: [php]code in here...[/php]
Some HTML tags allowed: <strong>, <em>, <del>, etc. (Just don't overdo it, please!)

Current ye@r *