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!



66 comments:

indexurl said...

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.

social media optimization

Bhavika said...

hi, how do I hide this widget on the home page? I only want it on internal pages? thank you

kewin said...

@Bhavika..this link may help you
http://goo.gl/Bk1fo

Tsudip Rai said...

sorry to say but ur retweet button is not working

cm punk said...

this is such a nice and useful information for us...i appreciate urs word..........


SMO Services

bushra hanif said...

I just became alert to your blog through Google, and found that it's truly informative. I’m going to watch out for brussels. I will be grateful if you continue this in future. Lots of people will be benefited from your writing. Cheers! :
Click Here For Latest Blogger Tricks And SEO Tips (http://fullbloggertricks.blogspot.com)

hamza ghafoor said...

very nice article and blog

Ankur Rathi said...

Thanks Buddy......You can see how I have modified your floating dock on my Blog www.newamazingtech.blogspot.in

It looks nice now, you can see the modified code at above link xaml

Bob Brown said...

Its something new for me that floating button and I was not very familiar about this and must be thank you for that. click here for further more

John Francel Abaricia said...

wow thank you very much this is really helpful, specially the facebook buttons keep it up,happy blogging

Guppu Boss said...

Great. I was searching for social sharing button becuase my previous one stop floating. Just pasted the code on my blog
InternetDreamz

Dheeraj said...

this button design don't match with design of my website so if possible then can you please share other designs of adding this button on my blog site The Seo Portal
The Seo Portal

anu mandava said...
This comment has been removed by the author.
Vijay Smartjobz said...

*************best place to search jobs***********

www.smart-jobz.blogsport.com

mavnish hudson said...

To add the floating buttons on websites, it helps in SEO also.I appreciate the way of explanation.thanks a lot to share this scripts.hire mobile developer

GuildWars2Items said...

The past is gone and static. Nothing we can do will change it.Ultimate Game Card, the future is before us and dynamic. Everything we do will affect it Buy Xbox Live Points, You laugh at meCheap Minecraft Gift Code for being different , but I laugh at you for being the same.

The past is gone and static. Nothing we can do will change it.scarlet blade gold, the future is before us and dynamic. Everything we do will affect it rs gold, You laugh at mescarlet blade gold for being different , but I laugh at you for being the same.

mike lest said...

If you are really bored of your life and want to have some excitement then Indian Escorts in Dubai escorts service can turn out to be an effective solution. Call Mr KK +971555232108
Escorts in Dubai

TechnoGupShup said...

I try this cool widget for My Blog www.technogupshup.com but it shows very dirty blog. so i decide to remove this one and finding something else..thanks

TechnoGupShup said...

We just added this features and you can check it now Here.

Rohit panchani said...
This comment has been removed by the author.
Rohit panchani said...

Twitter button is not comes.

Richard C. Lambert said...

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. http://dripfollowers.com

Jiyaa Khan said...

We Present Hot Escorts In Dubai And Sexy Dubai Escorts Also Provided Best Pakistani Escorts In Dubai And Fresh Indian Escorts In Dubai Supplier Company Call on +971555232108

Jiyaa Khan said...

We Present Hot Escorts In Dubai And Sexy Dubai Escorts Also Provided Best Pakistani Escorts In Dubai And Fresh Indian Escorts In Dubai Supplier Company Call on +971555232108

Jiyaa Khan said...

We Present Hot Escorts In Dubai And Sexy Dubai Escorts Also Provided Best Pakistani Escorts In Dubai And Fresh Indian Escorts In Dubai Supplier Company Call on +971555232108

Nexevo Technologies http://www.nexevo.in said...

This post found the exact information..Am got the best information...thank you for giving the useful information post....Website Design Companies in Bangalore | Website Development COmpanies in Bangalore

Companion Escorts said...

Bangalore Escorts |
Independent Escorts Bangalore | Call Girls Bangalore |
High Profile Escorts |
Celebrity Escorts Bangalore
http://www.haveme.in

Muhammad Ajmal said...

kareena dresses designs
Punjabi Dresses For Girls and Salwar kameez fashion
Umsha Wedding Dresses

Khalid Baid said...

kareena dresses designs
Punjabi Dresses For Girls and Salwar kameez fashion
Umsha Wedding Dresses
, lovely dresses images

Khalid Baid said...

best fashion forladies images Stylish Fashion Trend ,

UNIQUE & JEWELRY Designs
UK BEAUTIFUL SHOES for Girls
STYLISH PLAZZO SUIT FOR GIRLS
GIRLS HAIRSTYLES FASHION
FANCY SHOES FOR FASHIONABLE LADIES
Bonanza Clothes For Girls
Dress For Women By Elan
Eye Makeup For Girls
Beauiful Watches For Pretty Girls



Khalid Baid said...

kareena dresses designs
Punjabi Dresses For Girls and Salwar kameez fashion
Umsha Wedding Dresses
, best fashion forladies images Stylish Fashion Trend ,
WINTER SEASON FASHION STYLE
GIRLS ORIGINS FASHION STYLE
WINTER SEASON FASHION DRESSES
LONG WINTER SEASON COATS
MAKEUP IDEAS FOR WESTERN GIRLS
MEHENDI DESIGNS FOR EID COLLECTION
EID UL ADHA FOOTWEAR
LADIES WEDDING PARTY OUTFITS
YOUNG GIRLS FRONT BUTTON SKIRTS FASHION
Bonanza Clothes For Girls
Dress For Women By Elan
Eye Makeup For Girls
Beauiful Watches For Pretty Girls

khalid said...

denizen by levi’s men’s dresses,denizen levi’s men’s dresses,donate,dresses collection for summer,man dresses,men’s dresses collection,men’s dresses collection fashion,khussa,khussa indian shoes,khussa mahal,khussa shoe,khussa shoes,khussa trends collection,khussa wedding shoes,khussas for fashionable women,ladies khussa,mens khussa,mens khussa shoes,pakistani khussa,collection dress,dresses in fashion,glitter designs,londan men fashion,lookbook,men dresses style collection,paris fashion dress,street look,stylish men wear,trendy ideas dress,uk trendy men wear,watches fashion,14 august fabulous nails art designs,14 august nails,all colour nails,attractive,beautify nails,chocolate,embellish nails,fresh design,graceful,green,independance day,nails art designs collection,paint nails,stones nails,ankle band tattoos,ankle bracelet tattoos,ankle tattoos designs newest collection,ankle tattoos for women,butterfly ankle tattoos,butterfly tattoos on ankle,cool ankle tattoos,cute ankle tattoos,flower ankle tattoos,tattoos designs,tattoos on ankle,girls wear collection,gul ahmed midsummer arrivals,jashn-e-azaadi wear dresses,latest collection by gul ahmed,latest jashn-e-azaadi dresses,long shirt dresses,midsummer arrivals,newest collection by gul ahmed,seasonal dresses,styo dresses,women stylish jashn-e-azaadi wear dresses,women wear collection,autumn polyvore,best clothing combos,events polyvore combos,formal wear polyvore,how to dress up for office,polyvore combos autumn collection to try on events,polyvore combos autumn fashion,try on events polyvore combos,amazing nail art,awesome nail art designs,beautiful nail art,floral nail art for ladies,insurance,nail art,nails,stylish floral nail art,bridal shower,bridal shower cakes,bridal shower decorations,bridal shower favors,bridal shower games,bridal shower gift ideas,bridal shower gifts,bridal shower ideas,bridal shower ideas collection,bridal shower invitations,bridal shower invites,bridal shower themes,bnb trendy and stylish handbag,fashion of handbags,girls handbags,handbag,handbag designs fashion,handbag designs fashion for womenattorney,claim,classy pakistani,credit,degree,donate,dresses,hosting,insurance,lawyer,lehenga choli,loans,mortgage,salwar kameez,suits design,unstitched pattern,women dresses,women wear,beautiful jewellary collection 2015,rings collection 2015,rings collection 2015 for men & women,wedding flowers and rings,wedding flowers and rings collection,wedding flowers and rings collection 2015 jewellary,wedding rings collection 2015,motifz,motifz dresses 2015,spring collection 2015,spring dresses,elegant lehenga cholimlehenga choli,lehenga,lehenga choli fashion 2015,party wear elegant lehenga choli,tagged bridal wear elegant lehenga choli

Abha Rajpoot said...

Pakistani Escort In Dubai //
Indian Escort In Dubai //
Pakistani Call Girls in Dubai //
Pakistani Model Escort in Dubai //

Abdul Khadar said...

By adding floating bar of social media buttons to blog helps to improve referral traffic.

Web Design Company Bangalore | Social Media Marketing Company

Escorts Girls Dubai said...

———— SEXY ♥ ———— BEAUTY ♥ —Dubai indian escortsSO HOT ♥ ———NEW—— IN ——UAE♥ ———
I’m here to make your day more enjoyable, relaxing and unforgettable…. I am confident, secure, fun loving, down to earth cutie!!! I go out of my way to make sure our time together is enjoyable and wonderfully memorable.
EXTRAORDINARY indian escorts in dubai whatsap & Call +971501948716
Welcome to model escorts exhibition in We are the best office of escort Services in Dubai. We serve model escorts and in addition high schooler model. On the off chance that you might want to go through some extraordinary minute with our model from your bustling time, see our model escorts display.

▐ ☆▐ whatsap & Call +971501948716▐ ☆▐

pakistani escorts in dubai
indian escorts in dubai
vip pakistani escorts in dubaiPakistani call girls in dubai
indian call girls in dubai
2016 top,indian call girls in dubaivip indian call girls in dubai
Dubai Escorts
Dubai Callgirls

ULTIMEZ TECHNOLOGY said...

Great post, your step by step explanation cleared us about how to add social media button. Thanks for sharing. Web Design Company in Bangalore | Website Development Company in Bangalore

Unknown said...
This comment has been removed by the author.
Khalid Baid said...

Western Dresses

Party Fashion

New York Fashion Week

night dresses

Beautiful Ladies Dresses

Wonderful Anarkali Dresses

Anarkali Dresses Designs

Indian Ladies Dresses

Punjabi Dresses


Eid Lawn Fashion Collection

Luxury Dresses Eid Fashion

Eid Fashion Dresses Collection

Best Stylish Kids Fashion

Eid Festive Fashion Collection

Unknown said...

www.midnightlover.in

Unknown said...

www.midnightlover.in

Thoughtgrid Interactive | www.thoughtgridinteractive.com said...

First of all thank you for your posting many of them not aware of this keep update the valuable post like this!!!
See our services:
UI Design Companies in Bangalore

Siva Seo said...

Thank you for your nice post. Keep updating.ERP software chennai|Leather ERP software chennai|Construction ERP software chennai|ERP for Trading|ERP for hospital management

Keylie Rifadock said...

penyakit yang bisa disembuhkan dengan qnc jelly gamat
obat herbal untuk penyakit meningitis
pengobatan maag saat puasa
khasiat qnc jelly gamat untuk maag

priyasen said...

Hai this is Jennyarora.I am Mumbai escorts service.It's very nice picture.

technogupshup said...

I found amazing TechnoGupShup Provide Computer Airtel Number Check, How to check vodafone number. How to check airtel number, Aircel Number Check, PF Balance Check Online. How to check pf balance online, Check pf banace by UAN No, Jio Balance Check USSD, How to check balance in jio, Jio Mobile Number Check, How to check internet balance in jio, How to check internet balance in idea ,Freebies,HTC Desire Review,Calculate CPI CGPA Percentage,Facebook Chat Emotions,Free Mobile Recharge App and much more......Visit www.technogupshup.com for more articles.

Surendra Nath said...

hi its a nice blog about website design.. recently my website is designed by one of the best website design comapany in bangalore

Ogen Infosystem said...

i like this post as it contain the exact information....We can also help you for these types of pro
website designing company in delhi | website designing company in rohini | website designing company in kirti nagar

Chandu said...

Sukere Infotech, as one of the main seo company in India, we make certain that your website attains top scores in numerous engines like Google, Bing, Yahoo, and so forth.
Best Seo Company

Bruce Wells said...

Thank you for sharing such an informative news with us. Keep on sharing Contents like this. You can also share this content on various sites like the Automation Associates LLC site.

Email Appending Service. said...

The post is very informative. It is a pleasure reading it. I have also bookmarked you for checking out new posts. You can also share this valuable content on other platforms such as Blogspot, the famous Wordpress site, the innovative Tumblr site and also the sites like Medium and the famous Live Journal site.

Jennifer Jerome said...

Thank you for sharing this information. Come back again for more interesting stuff like this post. You can share this informative post in Social Media sites like the worldwide famous Facebook, the all-time favorite Twitter and the most interesting Google Plus site, business site LinkedIn and also to the Infographic site Pinterest to generate more traffic to your blog post.

Julia Williams said...

I have analyzed your post. Excellent details you did here. I enjoyed reading your blog, and it is both instructional and enjoyable. Share this most interesting post in other sites like OS Business Opportunities, the innovative Asaim Japan site and also to the Jfissures site followed by Free Samples 411 and lastly to the sites like Johny Adams sites.

Madhu said...

I love to be part of reader list, useful & share worthy content. Web Design Company Bangalore | WebDreams India

Rihana Chamadi said...

The information provided is very very niche

Indian Escort in Dubai
Dubai Escort
Indian Escort Dubai
Independent Escort Dubai
Pakistani Escort Dubai

Rihana Chamadi said...

It is a pleasure reading it. I have also bookmarked you

Blonde Escort Dubai
Dubai Escorts
Fresh Indian Escorts in Dubai
Fresh Pakistani Escorts in Dubai
New Arabian Escorts in Dubai
Verified British Escorts in Dubai

Rihana Chamadi said...

Enjoy the sweet natured and best of the beauties in the world Indian Escorts in Dubai.

Sexy European Escorts in Dubai
VIP Romanian Escorts in Dubai
High Class Russian Escorts in Dubai
Beautiful Malaysian Escorts in Dubai
Escorts in Dubai
Escort Service in Dubai
Female Escorts in Dubai

Dubai Dames said...

Offering the bewitching Dubai girls to sense the purely Arabian escorts fun in Dubai.

Indian Escorts in Dubai
Dubai Escorts

Karishma Dutt said...

Make your time an absolute entertaining span of life with those exotic escorts in Dubai.
Indian Escorts in Dubai

Email Database said...

Thank you for sharing this excellent post. The post is handy and useful. You can also share these type of posts in the platforms like Wordpress, the famous Blogspot site, the all favorite Tumblr site and also in the location like Medium and lastly to the Live Journal site.

Email Lists Marketing said...

This is the kind of post I was searching for today. Awesome post and very useful and easy to read. Thank you for sharing this wonderful; post. You can also share these post on the Social media's like Google Plus, the all time hit Facebook, the notorious Twitter, the business sharing site LinkedIn and lastly to the famous Infographic site Pinterest to gain more traffic to your blog post.

Unknown said...

Nice post. I was checking constantly this blog and I

Elite Escorts in Ahemdabad

Lovely Gautam said...

Dubai Escorts
Escorts in Dubai
Indian Escorts in Dubai
Pakistani Escorts in Dubai

Goa Companion said...

Madgaon Escorts
Panjim Escorts
Vasco Escorts
Mapusa Escorts
Calangute Escorts
Baga Beach Escorts

Chitra Krishnan said...

Chennai Escorts
Escorts in Chennai
High Class Indian Models
Air Hostess Escorts in Chennai
College Girls Escorts in Chennai

Riya Arora said...

We incorporate to a great degree attractive Mumbai escorts benefit who control remain your genuine feelings of serenity grateful as you for myself satisfy up individual of the escort look toward look in addition to contain a few individual time together.

We find that a large portion of our customers are either Mumbai-construct experts or specialists here in light of treks, and we give the Mumbai Escorts Service you need an adorable young lady to your home or inn room, an exquisite sidekick to go with you to a capacity with all the prudence that you could trust.

Programmierung in Lüdenscheid said...

Your website content nice nice and interesting to observe.
WordPress Lüdenscheid

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Comments

Twitter Delicious Facebook Digg Favorites More