This is one of the few social sharing widgets that took a lot of my time in designing it. You have seen the trend of floating sharing count buttons on popular blogs. The traditional icons are now replaced with auto incremented counter buttons that are updated in seconds. We created different versions of this bar applying both Jquery effects and CSS3 styles but this widget is different because it contains custom twitter, pinterest and an Email button. Services like Addthis and Sharethis are both doing a great job but they still need to work on some of their plugin integration conflicts. Pinterest pin it buttons are causing great trouble and it badly fails in fetching the correct thumbnail image. In most cases it does not even select a image thus making the entire pinning concept tasteless. We however redesigned the widget provided by shareThis to create a new one by correcting all flaws. This sharing bar would float to the left of your blog posts and would float as the visitor scrolls up or down. This widget contains counters of important social networking sites that has the potential to bring you traffic by circulating your content to a wider audience. We have tested the widget on major browsers like IE7+, Firefox, Chrome etc. and found it working just fine with no compatibility issues or design conflicts. Did you check the previous version? Floating Sharing Counters
Which Social Networking Buttons To Use?
Why not use JQuery?
- Make your blog load faster Note: I still need to complete this series
How it works?
We have integrated both Addthis and ShareThis service in it. In order to customize the twitter button and others we took the Sharethis default code and customize it to change the button image, bubble size and count text. The widget that we initially developed looks extremely attractive compared to this one. You can see the first designed draft version in the screenshot below:
- Go to Blogger > Template
- Backup your template
- Click Edit HTML
- Click Proceed
- Then Click Expand Widget Templates
- Search for
<b:includable id='post' var='post'>7. Just below it paste the following code:
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<style>
.mbt_social_floating{
position:fixed; bottom:10%; margin-left:-60px; float:left; width:60px;
background-color:#f7f7f7; padding: 5px 0 0px 0px;
border-top:1px solid #ddd;
border-left:1px solid #ddd;
border-bottom:1px solid #ddd;
z-index:9999px !important;
border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;
}
.mbt_social_floating .mbt_side_social_button{
margin-bottom:5px;
float:none;
height:auto;
width:60px;
}
.mbt_social_floating .st_twitter_vcount, .mbt_social_floating.st_plusone_vcount, .st_email{
margin-left:5px;
}
.mbt_social_floating .st_fblike_vcount{
margin-left:5px;
}
.mbt_social_floating .stButton_gradient{
background:none !important;
height:21px !important;
padding-left:0 !important;
}
.mbt_social_floating .chicklets, .mbt_social_floating .stMainServices {
background:url('http://1.bp.blogspot.com/-r3RYZkB4Pis/T7alrxNFYyI/AAAAAAAAGc4/TCBwHNxEwR4/s400/gc_social_sprite.gif') no-repeat !important;
height:19px !important;
width:45px !important;
padding:0 !important;
}
.st_email .chicklets{
background-position:0 -77px !important;
background-image:url('http://1.bp.blogspot.com/-r3RYZkB4Pis/T7alrxNFYyI/AAAAAAAAGc4/TCBwHNxEwR4/s400/gc_social_sprite.gif') !important;
}
.mbt_social_floating .st_twitter_vcount .st-twitter-counter{
background-position:0 -58px !important;
}
.mbt_social_floating .stButton_gradient{
border:none !important;
}
.mbt_social_floating .stBubble_count{
width:44px !important;
font-size: 15px !important;
font-weight: normal !important;
padding-top:7px !important;
height:23px !important;
background:none !important;
}
.mbt_social_floating .st_twitter_vcount .stBubble_count{
color:#00a6df;
background-color:#f8fbfc !important;
}
.st_fblike_vcount{
margin-bottom: 0px;
display: block;
}
.st_twitter_vcount{
margin-bottom: 3px;
display: block;
}
.st_email{
margin-bottom: 5px; margin-top: 3px;
display: block;
}
.mbt_social_floating .stBubble{
background-position: 21px 31px !important;
height:35px !important;
}.mbt_social_floating .st_pinterest_vcount{
margin-left:5px;
}
.mbt_social_floating .st_pinterest_vcount .st-pinterest-counter{
background-position:0 -19px !important;
}
.mbt_social_floating .st_pinterest_vcount .stBubble_count{
color:#FF0505;
background-color:#fbf8f8 !important;
}
.mbt_social_floating .st_pinterest_vcount .stBubble{
background-image:url('http://1.bp.blogspot.com/-meqDjtBStCA/ULFkqTG88qI/AAAAAAAAIGs/hjCRAqGL270/s400/bubble_arrow_pinterest.png') !important;
}
.st_pinterest_vcount{
margin-bottom: 0px;
display: block;
}
</style>
<div class='mbt_social_floating'>
<script type='text/javascript'>var switchTo5x=true;</script>
<script src='http://w.sharethis.com/button/buttons.js' type='text/javascript'/>
<script type='text/javascript'>stLight.options({onhover:false, , doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
<!-- No more works properly so removing it from mbt list<span class='st_fblike_vcount' displaytext=''/>-->
<div style='margin:0px 0 0px 10px;'><div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='box_count' send='false' show_faces='false'/></div>
<span class='st_twitter_vcount' displaytext='' st_via='mybloggertricks'/>
<span class='st_pinterest_vcount' displaytext=''/>
<div style='margin:0px 0 0 5px;'>
<span class='st_plusone_vcount' displaytext=''/>
</div>
<div class='addthis_toolbox addthis_default_style ' style='margin:5px 0px 5px 8px;'>
<a class='addthis_counter'/>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
<script type='text/javascript'>
var addthis_config = {
ui_cobrand: "MY BLOGGER TRICKS",
ui_header_color: "#ffffff",
ui_header_background: "#0080FF"
}
</script>
<span class='st_email' displaytext=''/>
<p style=' line-height:0px; font-size:10px; font-weight:bold; text-align:center;'><a href='http://www.mybloggertricks.com/2012/05/create-floating-bar-for-pinterest-other.html' style='color:#CAC8C8;'>Widgets</a></p>
</div>
</b:if></b:if>
Just replace mybloggertricks with your twitter username.
8. Save your template and you are all done!
Optional step:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Got Questions?

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »









143 comments:
what great are you we are waiting for such posts like this mohammed i want to have more and more plugins please man double the posts daily
very nice m8, is there chance to add Dig Button?
thnks
how do i make shift a little
Great Post....But I have one query ,How we can measure the usage of this widget .Suppose In MBT, face book like button is given at two place ,tweet button two places. So We would like to know number of clicks of each of share widget so that we can decide whether it is useful for a Blog or not after testing it over a period .
Thanks in advance
What a post. Never thought like that.
Many thanks for such posts. Keep it up.
Subscribe To @ Employment News India
Hey Bro. .
Nice Post n as per your suggestion i have changed the background of my blog. . how is this now Blogger Tricks
Why does chrome doesn't show the correct padding. When I adjusted the padding to make the widget bit more above, chrome didn't show any effect whereas firefox showed. Ghosh!!!
Twitter count showing zero for posts already tweeted before. Also I think you forgot to add that you need to change "MY BLOGGER TRICKS" in share button.
Thanks .. Good Tutorial ...
hmm only work facebook button i tryed 1st in my blog test
http://livedownloadspt.blogspot.com/2010/08/text-read-more.html
and only Like Button i can clik why?
Another useful widget for blogger.
Thx for sharing brother.
www.gulmiresunga.com
Wow,
I'm impressed with this and that you are openly sharing with us all. I've seen other gloating toolbars but they flicker when the user scrolls, this however does not suffer that problem!
Thanks
How to remove some buttons?
Thanks a lot buddy... Now my blog is looking clean
Thanks Buddy..
But I cant make it on right...Anyway it looks Nice .
http://22december.blogspot.com/2012/04/soulmates.html
THANKS DUDE ITS AWESOME , I AM WAITING FOR THIS FOR A LONG TIME
http://mechfuturekings.blogspot.in/
I Got What i want.. Finally Thanks Muhammad..
http://www.insertknowledge.com/
how i can add facebook share button to this tuto... hehehhe..
I tried it and it worked perfectly well. Good job Man...
facebook count is not working whenever share is pressed means it showing count as 1 but if we refresh the page it is not showing anything again the same f share icon come wat to do pls reply with solution pls i am searching for 1 week
http://learnlego.blogspot.com
Hello dear Mohammad,
Sorry for my bad english, i'm portuguese!
I wonder if it's possible to change the "Like" title from Facebook share button?
Thanks you my friend!
Visit my blog sameer9542.blogspot.com
How to create Facebook share button in java script is here. I think this tutorial helps you to understand how to add facbook share button in any website. http://www.databaseidea.com/2012/06/how-to-create-facebook-share-button.html
Thank you,this is working,very good. http://parlakteneke.blogspot.com
Thanks man, THAT HELPED A BUNCH. Thanks, I owe you one.
Thanks Brother, this Post Very Important to me, like it.. happy Blogging, i already take this script to my blog Http://www.ithedoctor.com , i will bookmark your site on my browser cause its very2 important...
Thanks so much for this!
I've been looking for one that's working for almost a day now and finally I have one that works perfectly!
Thumbs up!
Check out my blog, I've added your floating bar :)
I've also featured you in my post http://sharpasnails.blogspot.com/2012/06/starting-over-again.html#more
http://sharpasnails.blogspot.com
Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.
html5 video server| web applications
What if I want this more to the left.
Thank you so much for the float bar! I have used it on my blog and feels great, a post to see -- http://bakedexpression.blogspot.in/2012/06/cherry-peach-crumble.html#more
Thanks for sharing such a nice widget
You can see this on my blog
http://hackingpalace.tk
@hackingpalace
Looks like you are an idiot who don't know how to respect others and their work.
And guess what!!!
The same person named "Jayadeep km" is saying thanks as well. lol
Thanks for this tutorial now i know how to add floating social bookmark
but how can we add this widget in the home page :(
really need this widget on home page of new blogger site... n can we customise the buttons....like we choose what buttons we like to have on the floating bar...
Hi Mohammad,
This Is William Here..... Very Nice Floating Bar Work Of Yours.... I Would Like To Ask You Something Related To This Floating Bar.... I Want To Even Display This Onto My Home Page Too... So Kindly Let Me Know..... I Will Be Very Glad To Here From Your Side... Mail Me On william4every1@yahoo.com
Awaiting For Your Reply.... Take Care .... GOD Bless You .... :)
Really Thankful to you..
Can You Please Tell Me How To Use This On Wordpress???
Can you make a new script including Digg and stumble button?
Thanku Bhai!
Thank you sir... very helpful.. i just used it in my new blog and it work. once again thank you.
http://naijaeduscholar.blogspot.com
Thanks Mohammad for the floating bar widget. It's just what i needed for my blog. I love this comment editor of yours. Can you please guide me on how to add one to my blog?
Thank You so much for this code :-)
Thanks Mustafa, works great
Visit my blog
how to get rid of acne
Hi,
I just tried to add your widget on my blog and it's not worked. I followed instructions as you described. Please help, my blog is http://www.riddimzragga.com. Maybe you can assist?
I like Pin-interest...easy to use and also good to share my likings with my friends in FB...also these little new additions make the social networks so very interesting and happening.Make money on Facebook
Hi, thank you for this floating/slide bar i placed it in my blog and it is great.. my blog is http://mysimplethoughtsonline.blogspot.com/ .. I just want to ask how can I also let it appear on the home page? my email is justme.mart@gmail.com
will be waiting for your reply thanks...
Nice work Man. Keep Sharing... I am also working on my Site www.flavorsofsoul.com.
Will wait for some feedback from your side as it needs lot of improvement.
Please tell me how to rearrange these buttons
can i make the background transparent ?
@Remen Raj Found it. change the background color to
#sb-container .widget{opacity:.8}
this will make the widget appear transparent :)
Assalamualaikum, brother i wanted to ask how do I shift the floating bar More towards the left of my page because for some readers, its annoying. however i think shifting it to the left would solve the problem.
Awesome! Another great post! Thanks a lot!
Tweet and like counts not working :\
nice...post....How to Make Money Online - Affiliates Marketing
awesome :-D
Sir floating bar is awesome but i want to hide it when reach to my blog's footer "just like in your blog" looking for help from you.
thanks
Nice floating buttons using it on my blog
Make 100$ per day with Internet Dreamz Method
@Remen RajLook on this post of another share widget how to move this share widget to the left by making the number bigger. The widgets are very similar. http://www.mybloggertricks.com/2011/08/add-floating-facebook-share-1-button.html
does not work in the actual blogger version
I had all done how it is written in your direction
on an usual template of blogger, but nothing happens
Wow Great trick i like tha it worrks great it's hot with my horny page please look at it!
Great post.But I have problem. facebook like button not working.
hey please please help me waiting for your reply
wow..thanks for sharing mister
nice post
find all your solutions here
thanks a ton bhaiya :) I've added this to my blog and its looking very pleasant!
@ahmed safwan
Yes, that is very fantastic job by Mohammad!. This is the solution for all blogger blogs to have a floating bar social buttons.
We have written a simple plugin to add floating bar on any WordPress blog. Hopes WordPress users find it helpful.
HOW DO DELATE PIN IT, SHARE,EMAIL BOX and widget sign???
now working with me..
I had this on my blog and it worked great. But then I switched to a different template and it wouldn't show up anymore. I thought maybe it just got lost in the switch of templates, so I went back and found and removed where I had the code before and saved it, then went back and pasted it in there again, and it still won't show up. I know it's on the post pages only, but it's not showing up there. Any help? Thanks!
shadesofsafhire.blogspot.com
(I'm also having a hard time getting the images in my sidebar graphics to be centered. The text is fine, but the images are sliding off to the right. I put the center codes on both sides of the code too, and that didn't fix it either. Arghh :)
Oh, by the way. I switched from "Basic" template to "Awesome Inc." in case that matters :)
I am getting problem can you help me my blog name is rehut.org
Assalam o ALaikum
Sir, can you please tell me that how I may show the number of comment under each post. Just like your blog?
I mean #82
#83
etc...
Thanks.!
Assalam o Alaikum bhai,
You are really Proud of Pakistan,
Really Really Good Work
and yours widgets are every where over the internet.
Stay Bless
Assalam o Aliakum brother,
Great Great Work,
but this code is not working on my blog plz tell me whta should i do. I have successfully save this code on my blog but it does not show any thing :(
http://wizprogramming.blogspot.com/
Hey bro!
Great efforts but it is not working my blog i dont why..?
http://wizprogramming.blogspot.com/
plz help me w8ing for your reply.
I don't christen this a brat's pellicle at all. Not because it has of age physical, because it doesn't. I say this because the pellicle is finished for everyone. Actually, everyone. There are things in it watch movies online every somebody can take delight in, no substance who they are. It has obnoxious homages to Stanley Kubrick's "2001: A Extent Odyssey", and any of age who remembers seeing that pellicle will note this.
Thank you very much for this. For those wondering how to move the widget a little more to the right edit this line of code:
position:fixed; bottom:10%; margin-left:-60px; float:left;
Change the value for 60px. Increasing it will move the bar to the left while decreasing it will move the bar to the right.
didnt work for me :(
Hello sir Mustafa, I am a loyal reader MBT but I have tried this widget time and again but it isn't working for me.
thanks a lot this widget is now beautifully working at my site www.pollutionpollution.com. thanks a lot
Hello, I really like this floating media bar. But I need for it to go a little more down on my page, more in alignment with my posts, as it is now covering up my Header and my Page titles.
Another question is how can I get the numbers updated from past "clicks" who have Pinned, Tweeted, Liked, etc.?
Thanks for providing the bar.
my site is
http://sweetpepperrose.blogspot.com
See the long thread of comment, on how lots people saying it didn't work for me while they aren't giving the actual problem. I tried this floating share widget on my site, it displayed but the problem is wasn't aligned well. I tried editing its alignment but didn't succeed in doiing that.
Thanks alot for the code, it tried to install the code on my blog but it didn't work, i had to remove it from http://milkingtheinternet.blogspot.com/
nice widget on my blogspot.. tengkyu...
The hardest thing for me was finding the darn code, I didn't remember the shortcut. After that all I did was paste and change my username and done!! I could not believe how easy this was and how well it works. I PIN alot of stuff and it's always been such a hassle to log into Pinterest, now I can do it straight from the post. I also can't believe I finally have a FB like button on each post. AMAZING!! and so easy, I can not thank you enough!!
If you want to shift the box a little left then, change the value of - margin-left:-60px to margin-left:-80px, or increase the size until you get the right position.. :)
my buddy's aunt makes $61/hr on the computer. She has been without work for 5 months but last month her check was $15064 just working on the computer for a few hours. Go to this web site and read more http://Run19.com
After my Post ends..there is the DISQUS Comment box..and since I run a Physics blog..comment and discussion goes on there often..!!!
Is there a way..so that the share bar vanishes once it crosses the normal post height and is just entering the DISQUS comment box region ??..
Thanx a lot for this widget anyways..
Thanks Buddy..
http://articlestech.com/
thanks http://jobnewsng.blogspot.com
I have been using AddThis share button for long on my wordpress site NaijaBizCom and it has been working but recently I noticed that any time I share to my facebook my post images does not show instead its wordpress logo that comes up. How can I resolve this challenges.
Why doesn't the "like" show up in my newsfeed? For example, if I hit "like" on this article on MBT, it shows up in my FB newsfeed. However, if I add this widget and hit "like" on my website, www.basesandbaskets.com, the liked article does not show up in my newsfeed. Any idea why this is occuring?
it is not working fully.not on side It is above posts .Any help
Implemented it on my tech blog.
Very easy to use the code. Thanks for sharing.
However, if you noticed, the tweet counter has overlapped slightly on top of the pinterest button. If you can make a minor adjustment, it would be perfect.
installed this on my blogger blog a few weeks ago and have been very pleased- until the day before yesterday when the pinterest pin it button stopped working. Any idea how to fix that?
ifitshipitshere.blogspot.com
What if your home page is your posts page in Blogger. At this point, I need to have a Pin It button for each post and don't care if it's floating or otherwise. I just need to find something that works and the Posts page is the Home page. Thanks greatly. The Floating Bar that you put the code in an HTML widget works great, but it doesn't have a Pin It button. Thanks.
I tried to implement the floating share bar with no luck I put in the code just like you said and the bar don't show is there any way I can check this?
Thanks for this great post. I was successfully able to put this sidebar at my two below mentioned blogs.
http://www.funWithPuzzles.com and
http://www.theFunLearning.com
I tried to put this bar on the right side but I was not successful.
Easy and effective! Thank you so much!
Mustafa I don't Find The above code in my blogger
nice post mohammad , but there is one problem i implemented the above code it works only for the posts , not for entire website . Plz reply
Awak code awak x jalan la dalam blog saya knp ye? saya dah tukar twitter akaun kepada saya punya.
Thanks for sharing.
1 question --> how to show this widget on Blog's main page?
My Blog ••• Web Developer / Designer
Thank you , long time have serched for it !
like yr link
Escorts in Delhi
Love it! Thanks so much. Any way we can add it to the homepage too?
Having trouble though.. when I hover over the buttons they dont always become clickable, and the facebook one doesnt work. hmm.......
Hi Mohammed I have Modified Somme Css in order To fit With Arabic Content http://www.arab-teck.com/2013/01/blog-post.html Great Post BTW !
computer tricks
acne treatment reviews
GREATLY HELPED ME..:D can we make this same widget HORIZONTAL .?? PLEASE REPLY , my email id is -mukeshnayak643@gmail.com
pLEASE CHECK MY FIRST BLOGPOST ..
http://tap2tech.blogspot.in/2013/01/how-to-take-screenshot-video-footage-of_11.html
Do comment ...
You can create floating bar for pinterest and other siwth help of the post her.e useful post
CD Duplicator
Hi Mohammad,
Thanks for all these tutorials. I tried using this floating bar but to no success. I was able to encode it but the result is not working well. Immediately, I have 7 FB likes and this applies to all my posts. Is it because of my template?
Absolutely fantastic bit of code, thanks for creating it and also sharing!
Seem to be getting an issue on the twitter function. When sharing it produces a share.es link but this is timing out with a 404 not found error.
Any thoughts?
Thanks
not working for me :( pls help, http://itech-hubz.blogspot.com/
Please try to give us the floating bar for special for Wordpress, because in wordpress i am getting much trouble...
Founder
myblogmymoney
this really help me
thanks for this amazing and helpful post
Pau Gasol Hello .. firstly I would like to send greetings to all readers. Yahoo Fantasy Football Rankings After this, I recognize the content so interesting about this article. For me personally I liked all the information. I would like to know of cases like this more often. In my personal experience I might mention a book called NBA Rumors in this book that I mentioned have very interesting topics, and also you have much to do with the main theme of this article. Apartments for Rent in Michigan
Mohammad Bhai Love you :)
Thanks for updating the code :>
i appreciate this widget... and it works pretty well too.. But i tweak it to make it more enjoyable.. how this works?
simple, i modified so that if youre on the scroll top page, sidebar widget will hide... but if you scroll down, says, 100 px...then it will display(yet faded opacity 0.5) and when you hover it, it displays normal opacity..
you can check here: Animated Scroll Fade + Opacity Hover
It works Properly but it takes lots of time to load.....!! What to do ?
@mobileping
Check this post it will help you getting widget closes or far ways to your borders.
How to get widgets closer to borders of the posts
Hi. I just installed it on my blog.. works great... but i have a problem with the facebook like button. When I click on it the facebook box that appears is kind of TRANSPARENT, so its interfering with the texts of my blog... like for example if the box opens adjacent to an image, the box goes behind the image and can't be seen. When when it opens next to texts it interferes with them... i dont't know how to explain properly. please see my blog and tell me how to fix it..
Actually the same problem can be seen on your blog too... for eg when the box opens next to the comments or adsense ads... but other than that it works fine here.. but in my blog it's not working properly anywhere... please help
Thank you so much. I just had it on my blog and it works fine, but I was wondering if you could help me make it fade in like the scroll up button. Thanks.
If u can help me. I didn't know what's going on my blog. just did like the instruction and have try many code before. Fb button will hidden in post page. Any idea? hope u can help me. Visit my blog if there any solution soon :)
Your blog is quite informative. This issue, which you highlighted above, is very informative. Thanks for sharing such a information around. It is quite useful for everyone to training. Best connected with luck money for hard times blog articles.
Click Here
Excellent work with the widget, loadtime has decreased now, you were right, jQuery does take a lot of time, check my blog now, it works fine - STB
When I created floating bar for pinterest,facebook, it get me some errors, can you please advise. seo services
Nice tips about create floating social bookmarking!
Thanks for posting this widget. I was looking for a working pin widget.
Click Here To add Comment
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.
Regards,
Mohammad