How to add floating social media buttons


Here’s a tutorial on how to add a Mashable-like floating bar of social media buttons to a Blogger blog. I made it into a widget, so you don’t have to go into your template HTML to install (or remove) them. Just drop the whole code into a HTML/Javascript gadget.

I have included Facebook Share, Retweet, Stumble, Google Buzz, Digg This and Google +1 (plus one) buttons in the bar. Each of them comes with a live counter. The corners of Facebook Share button and counter are rounded to blend with the rest of the buttons (doesn’t work in Internet Explorer, of course). You can add more social bookmarking or sharing buttons later if you wish.
I. Adding the buttons


1. Login to your Blogger account.
2. Go to Design > Page Elements.
3. Click Add A Gadget.
4. In Add A Gadget window, select HTML/Javascript .
5. Copy the code below and paste it inside the content box.

<!-- floating page sharers Start bloggersentral.com-->
<style>
#pageshare {position:fixed; bottom:15%; margin-left:-71px; 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 BloggerSentral.com">
<div class='sbutton' id='fb'>
<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
<div class='sbutton' id='rt'>
<script src="http://tweetmeme.com/i/scripts/button.js" type='text/javascript'></script>
</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>
<div class='sbutton' id='gb'>
<a class='google-buzz-button' data-button-style='normal-count' href='http://www.google.com/buzz/post' title='post on google buzz'>
<script src='http://www.google.com/buzz/api/button.js' type='text/javascript'></script>
</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>
</a></div>
<div style="clear: both;font-size: 9px;text-align:center;"><a href="http://bloggerehow.blogspot.com/2011/06/how-to-add-floating-social-media.html">Get this</a></div>
</div>
<!-- floating page sharers End -->

6. Save the gadget.
7. Drag the gadget and reposition it under Blog Posts gadget.
8. Click Save button on upper right corner.

II. Customizing


Vertical alignment
Change the value of bottom in code line 2. 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 of margin-left in code line 2. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right.

To position the button relative to the left or right edge of browser window, replace the margin-left with left (as in left:10px;) or right (as in right:10px;) respectively.

Replacing and removing buttons
You can replace existing buttons with your own. Each button is represented by this code:

<div class='sbutton'>
BUTTON CODE
</div>
To replace the button, simply replace the button code with the new code. 
To remove the button, delete the whole div.

Enjoy!



453 comments:

«Oldest   ‹Older   401 – 453 of 453   Newer›   Newest»
Buy meat online | Online meat shop | Chennai said...

Buy meat online from formeat Shop, Get fresh, and hygienic meat & seafood’s delivered at your doorstep fastly.

Online Meat Shop

Buy meat online | Online meat shop | Chennai said...

Buy meat online from formeat Shop, Get fresh, and hygienic meat & seafood’s delivered at your doorstep fastly.

Online Meat Shop

Aarin Kaur said...

This article is out of the roof. Wow! Wonderful. Great Post!
https://www.aarinkaur.com/
https://www.aarinkaur.com/Contact-Mumbai-Escorts-Aarin.html
https://www.aarinkaur.com/Mumbai-Escorts-Rate-Card.html
https://www.aarinkaur.com/Mumbai-Escorts-Location.html
https://www.aarinkaur.com/Mumbai-Escorts-Location.html

mani said...

I appreciate your time invested on this article , too bad it took me this long to find it but as they simply sound out a good is hard to find. Keep it up.
Looking for the best Web Design Company Bangalore|
Web Design Company In Bangalore|
Website Design Company In Bangalore|
Web Designing Company In Bangalore|
Web Designers in Bangalore|

Neha walia Andheri said...

Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts

Neha walia Andheri said...

Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts
Bangalore Escorts

tech said...

Hello, I do think this is an incredible site. I stumbledupon it ;) I will return to once since I have saved as a most loved it. Cash and opportunity is the most ideal approach to change, may you be rich and keep on helping other people. best interiors

Anonymous said...

hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts

Anonymous said...

hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts

Anonymous said...

hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts
hyderabad escorts

Solitairian City Reviews and Complaints said...

Very Informative! This blog is great source of information which is very useful for me. Thank you very much for sharing this!

Solitairian city Review

Solitairian city Complaints

Pakhi arora said...

Your Content is amazing and I am glad to read them. Thanks for sharing the Blog. this blog is very helpful information for everyone. This website is something that’s needed on the internet, someone with some originality! Your writing style is really impressive and you also cover informative information that the people want.
Daa Coaching Classes in Greater Noida

Shubham Aneja said...

Its really great post you have shared, which is informative and knowledgeable. I appreciate your great work.This blog has provided the helpful data to us.

Solitairian city Review

Solitairian city Complaints

Sneha Cubestech said...

Hey there
Thanks for sharing this informative article

Web development Company
1:31
Digital Marketing services
Software Development company

Solitairian City Reviews and Complaints said...

Well maintained and well planned society. I would strongly recommend to visit prime location Solitairian city high-class society good standard of living, Security guard, parking. Good area & atmosphere as well as Everything is good.
Solitairian Review
Solitairian Review

Anonymous said...

Great post really useful information. We are the leading website designing company in chennai. Hire our website development company in chennai today for best web design services in chennai.

TECH 11 said...

you are doing such a remarkable job . the content you share is so reliable and useful to many of us . it is really very informative . thanks for sharing it with us . looking for more in future .goodluck
machine learning training in greater noida

TECH 11 said...

your blog is too good . thank you for sharing such an amazing idea . really very helpful
python training in greater noida

Anonymous said...

Great post really useful information. We are the leading web designing company in chennai. Hire our website development company in chennai today for best web design services in chennai.

Solitairian City Reviews and Complaints said...

I genuinely enjoy to read your articles, your blog page provided us useful information for me. Thanks for sharing valuable Information. I appreciate your work.
Solitairian Review
Solitairian Review

Latest Gist said...

Thanks for publishing such vital information. You are doing such a great job. This information is very helpful to me and am sure others will also benefit from it. Keep it up. Thanks. Checkout Types of Computer Hackers

Solitairian City Reviews and Complaints said...

I have been a keen follower of your website. recently I came across this topic and after reading the whole article I am amazed that how well you have written it.
Solitairian city reviews
Solitairian city reviews

Gammi said...

This post is genuinely a good one. It helps new net users, who are wishing in favour of blogging. illinois institute of technology graduate programs

KP WEBSTYLING said...

very nice blog.
Best web designing company in Chennai
web design Company in Chennai
web designing company in Chennai
web design Company in Chennai
Website Design Company in Chennai
Website designers in Chennai
mobile application development web designers company in Chennai

Rahul Chauhan said...

Thank you for sharing such information with us. I'm going to bookmark this site for future update.

For Python Training visit here - incapp

FuelDigi Marketing Pvt Ltd said...

I really enjoyed reading your blog. It was very well written and easy to understand. Unlike other blogs that I have read which are actually not very good. Thank you so much!FDM is one of the Online Reputation Management (ORM) Company in Chennai. For More Details Call us: 91+ 9791811111 or visit our website.



freya maya said...

We believe in providing a top-quality digital marketing agency in Jacksonville, FL, businesses can trust with their digital growth. You can get the most out digital marketing agency jacksonville

Unknown said...

I have been a keen follower of your website.
recently I came across this topic and after reading the whole article I am amazed that how well you have written it.
Python Training in Greater Noida

Bluelooktech said...

Fantastic article very useful information

jhanviusa said...

Useful article.
https://rigwelllifetimeonline.com/

khushve6 said...

wonderful blog.
http://www.bigswinghonda.com

kteen187 said...

nice post.
www.mehartravels.comv

khushve6 said...

Thank you for sharing an excellent post.
http://rsdcstallions.co.in/

CHITRASINGH said...

nice post.
http://www.vardibazaar.in

vinniverma said...

nice post.
https://www.honda2wheelersindia.com/

marry vergese said...

Awesome post and very useful and easy to read.
https://gsaoverseas.com

GINNIVERMA said...

Thanks for sharing such an interesting blog.
https://arienglobal.com/

Allen said...


This is truly a great read for me.
https://www.kararaceramics.in/



vinniverma said...

Thanks for sharing such an interesting blog.
https://dare2gear.com

kteen187 said...

Thanks for sharing this awesome content
http://www.bigswinghonda.com/

sammy said...

Thanks for sharing such useful information.
www.kpiply.com

khushve6 said...

"This blog is a treasure trove of well-researched information, presented eloquently and captivatingly. A must -read for any curious mind."
https://healthyfitme.in/

CHITRASINGH said...

"Engaging, informative, and beautifully crafted. This blog kept me hooked from start to finish!"
https://www.kararaceramics.in

marry vergese said...

Nice post !
https://dare2gear.com/

johnso2 said...

Thanks for your post which is truly informative for us and we will surely keep visiting this website. Vacuum Insulated Glass

Detailing Addicts said...

I'm fuming with this website coz i'm not happy with this website. The Little scholar Best play school

Detailing Addicts said...

This Site is Very Renowned coz Everywhere This Website Best Play school

newerapublicschool said...

Article and story collections are Fantastic. I appreciate your sharing.

newerapublicschool said...

I really enjoy reading articles. Thanks for sharing this.

Refit said...

REFIT ANIMAL CARE is a leading company dedicated to the manufacture, supply, and wholesale of veterinary products, specifically animal feed supplements in India. Our mission is to provide robust solutions for the health and nutrition of animals, serving as a reliable partner for farmers.
Visit Website

Website Development Services Noida said...

In conclusion, if you're looking for a WordPress development company in Noida where innovation meets excellence, look no further than RS ORGANISATION. With our passion for innovation, commitment to excellence, and dedication to client satisfaction, we are your trusted partner in bringing your digital vision to life. Get in touch with us today and let's take your website to the next level together.

Akshata Hajare said...

Thank you for sharing this insightful guide on adding floating social media buttons! Enhancing user engagement is crucial in social media marketing in Dubai and Abu Dhabi, and your tips are invaluable. Looking forward to implementing these strategies to boost our online presence.

Jai Sun said...


informative and useful contentful article. really awesome to read. keep doing good.

Best travel agency from South India

Agra Tour Package From Coimbatore

Maldives Tour Package From Coimbatore

«Oldest ‹Older   401 – 453 of 453   Newer› Newest»

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Comments

Twitter Delicious Facebook Digg Favorites More