29 Add Floating Social Media Sharing Buttons To Blogger

The Floating Social Media Sharing is a very popular widget on all the top blogs, being a very good way to increase the number of times your posts get shared on Twitter, Facebook and other social networks. It has some of the following functions: Facebook Like, StumbleUpon, Twitter Share, Digg This, Google+ and RSS Feed Icon and each of them comes with a live counter. You can add more sharing buttons or social bookmarking icons later if you wish.

Blogger, WordPress, Facebook, Share

How to add the scrolling social bookmarking bar


The code to copy-paste (updated!):

<!-- floating share bar Start helplogger.blogspot.com--> <style type="text/css"> #pageshare {position:fixed; bottom:5%; margin-left:-721px; float:left; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#fff;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;/*bs-fsmsb*/-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="Get this from Helpblogger.com">
<div style="margin-left:8px;"><div class='sbutton' id='like' style='margin: 5px 0 0 5px;'><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'></script><fb:like layout='box_count' show_faces='false'></fb:like> </div></div>
<br /><div class='sbutton'><a class='twitter-share-button' data-count='vertical' data-via='Helplogger' expr:data-counturl='data:blog.url' href='http://twitter.com/share' rel='nofollow'>Tweet</a><script src='http://platform.twitter.com/widgets.js'; type='text/javascript'></script>
<br /><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> <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><br/><a href='http://feeds.feedburner.com/helplogger' rel='nofollow' target='_blank' title='Subscribe To Our Rss Feed'><img src='http://2.bp.blogspot.com/-MoGJ9Y3EdzQ/T8f4cj6LHMI/AAAAAAAACP4/VsM0eaG2EM4/s1600/icon_rss_reader.png'/></a><div style="clear: both;font-size: 9px;text-align:center;">Get <a style="color: #3399BB;" href="http://helplogger.blogspot.com/">widget</a></div><!-- Do not remove this link --> </div> <!-- floating share bar End --></div>


Customization:
  • Vertical alignment - Change the value of bottom in code line 3. The code positions the button relative to the bottom of your browser window. To fix the distance even when window is resized, specify the value in px (pixels) instead of %.
  • Horizontal alignment - Change the value in red of margin-left. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right. Increase or decrease the value based on your needs.
  • Twitter setting - Replace Helplogger with your Twitter username
  • Replacing and removing buttons - You can replace existing buttons with your own. Each button is represented by this code: <div class='sbutton'> BUTTON CODE HERE </div>
  • RSS Feed - Change the text in blue with the url address of your RSS feed.
Enjoy :)


29 comments:

  1. Thank you for the helpful post!

    ReplyDelete
  2. Thanks for you post. I have a tutorial that show you how to add Facebook share button. You have just copy and pasting quality. http://www.databaseidea.com/2012/06/how-to-create-facebook-share-button.html

    ReplyDelete
  3. I have installed the widget successfully, but the tweet button isn't working. Any ideas?

    ReplyDelete
    Replies
    1. Sorry, now i've seen the bug. Try adding the code again, it should work now...

      Delete
  4. Kindly let us know why the tweet button isn't working.

    ReplyDelete
  5. Hi Moffat, i've updated my post. Please add the code again.
    Thanks for visiting

    ReplyDelete
  6. Hello-
    Will you be updating this code to include Pinterest?

    ReplyDelete
    Replies
    1. you can view the updated code with Pinterest included by visiting http://easytins.blogspot.com/2012/07/cool-floating-social-media-buttons-for.html

      Delete
  7. It is awsum ,I experienced some bugs but removed later on.
    Now it is working on my one of bloggers .
    Thanks

    ReplyDelete
  8. thanks admin for sharing this gadget for may blog :)

    ReplyDelete
  9. Hi..
    Thanks for nice tutorial. I am looking for the same to add this on my blog MyComptuerTuts.

    Once again thanks a ton!!

    ReplyDelete
  10. admin i wanted to confirm before putting this code in my blog that it will work in dynamic view also?

    ReplyDelete
  11. This is a fantastic post. I am very impressed. It's working perfectly.
    Can you also check out my blog at www.applehelpp.blogspot.com? I want to confirm if it is being shown to others as well.

    I hope it works, I will be subscribing to you soon! Cheers!
    Shahmeer

    ReplyDelete
  12. not working on my blog www.taiwopublishing.blogspot.com

    ReplyDelete
  13. It's good, but StumbleUpon sometimes disappearing in my site http://www.doitwithyourpc.com/

    ReplyDelete
  14. very good,I got very used ..... thanks for sharing this gadget for blog....

    ReplyDelete
  15. Love this! Thanks so much for sharing.

    ReplyDelete
  16. Thanks for sharing such useful information. The information provided is very very niche and this information is not available so easily. Therefore I thank the writer for the useful input!!

    ReplyDelete
  17. i don't know what's going on. fb button will be hidden in my post page but seen on homepage. if u can help me. visit my blog :)

    ReplyDelete
  18. Anonymous3/27/2013

    It's not working for me after many tries. How do I undo everything I did and saved (as instructed above)?
    (anonymous because it seems only I find it hard to do) :/

    ReplyDelete
  19. Thanks!
    Using it now on my blog: http://chemist2writer.blogspot.com/ :)

    ReplyDelete
  20. I need to move it over to the left further. How?

    ReplyDelete
  21. Anonymous5/03/2013

    :) thank you

    ReplyDelete
  22. Anonymous5/17/2013

    not working on
    www.laptop-spec.com
    i think css i have cs issues
    that is external css is interrupting inline css

    ReplyDelete
  23. Dude, you are ROCK !
    Thank you very much for your great methods :)

    Like it
    www.lulurbandung.com
    Indonesia

    ReplyDelete
  24. how to add pinit and linked in to this..please help

    ReplyDelete