Categories

Blogumulus by Roy Tanck and Amanda Fazani
English French German Spain Italian Dutch Russian Brazil Japanese Korean Arabic Chinese Simplified
Translate Widget by Google

How to Add Floating Facebook Share & +1 Button Next To Posts in Blogger

As time goes by, a lot of scripter/programmer made up a good script. This script will enable you to show-up the floating facebook share, etc...

As time goes by, a lot of scripter/programmer made up a good script. This script will enable you to show-up the floating facebook share, etc just beside of your blog content.



See above picture for an example that I've taken from http://facebookholic.blogspot.com (As the founder contact me and ask for a floating script)


How to Add Floating Facebook Share & +1 Button Next to Posts in Blogger??


1. Go to Dashboard > Design
2. Choose a "HTML/JavaScript Widget"
3. Simply paste the following code inside it,

<style>  
 #floatdiv {  
  position:fixed;  
  bottom:15%;  
  margin-left:-180px;  
  z-index:10;  
  float:left;  
  padding-bottom:2px; 
 }  
 #mbtsidebar {  
  background:#fff;  
  border-top:1px solid #ddd;  
  border-left:1px solid #ddd;  
  border-bottom:1px solid #ddd;  
  border-radius:5px;  
  -moz-border-radius:5px;  
  -webkit-border-radius:5px;  
  padding-left:5px;  
  width:60px;  
  margin:0 0 0 5px; 
 } 
 .fb_share_count_top {width:52px !important;}  
 .fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}  
 .FBConnectButton_Small, .FBConnectButton_RTL_Small {width:52px !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="floatdiv">
 <div id="mbtsidebar">
  <table cellpadding="1px" cellspacing="0">
   <tr>
    <td style="padding:5px 0px 0px 0;">
     <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="ScripterZone">Tweet</a>
     <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    </td>
   </tr>
   <tr>
    <td style="padding:5px 0 2px 0;">
     <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>
    </td>
   </tr>
   <tr>
    <td style=" padding:5px 0px 0px 0px;">
     <script src='http://apis.google.com/js/plusone.js' type='text/javascript'> {lang: &#39;en-US&#39;} </script>
     <g:plusone size="Tall" expr:href="data:post.url"></g:plusone>
    </td>
   </tr>
   <tr>
    <td>
     <p style=" line-height:0px; font-size:10px; font-weight:bold; text-align:center;"><a style="color:#D3D3D3;" href="http://scripterzone.blogspot.com">Widgets</a></p>
    </td>
   </tr>
  </table>
 </div>
</div>

3.1 Easy Customisation
1. margin-left:-180px;
To align the widget more towards the left or right then edit this value. Decreasing this numeric value will shift the widget to the right and increasing the value will shift it to left.

2. background:#fff;
To Change the background colour of the floating widget then change the background value (E.g: #fff is for white, means that, your background widget will be white in colour.)


4. Save your widget and drag it just below the post body as shown below,



5. Now finally Click the save button at the top right corner and you are all done!



View your blog to see it hanging just to the left of your blog post body.

COMMENTS

Scripter Zone

↑ Grab this Headline Animator

Enter your email address:

Name

Anti-Copy-Paste,2,Attribution,1,Blogger Tricks,15,Categories,1,Copyright,2,Energy Saver,1,Floating Share Button,1,Generator,2,SEO Tips,1,Sitemaps,3,Table of Content,3,Tag Cloud,1,Warm Greetings,1,Widgets,8,
ltr
item
Scripter Zone: How to Add Floating Facebook Share & +1 Button Next To Posts in Blogger
How to Add Floating Facebook Share & +1 Button Next To Posts in Blogger
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju8vezXS4lzWlMrNNms_s4MFaUu6EBQMRyPkJQsJQmmyGSjyPcm6MinHbwtqiRILsYw72hVK6gzajpTbQjWuTFiwJj8NrpWlYrMGPK2IGFOW5MZ7E7_-dGAUuZJZ_vQCGpk5N_KJphT5_2/s400/floating+in+scripterzone.blogspot
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju8vezXS4lzWlMrNNms_s4MFaUu6EBQMRyPkJQsJQmmyGSjyPcm6MinHbwtqiRILsYw72hVK6gzajpTbQjWuTFiwJj8NrpWlYrMGPK2IGFOW5MZ7E7_-dGAUuZJZ_vQCGpk5N_KJphT5_2/s72-c/floating+in+scripterzone.blogspot
Scripter Zone
https://scripterzone.blogspot.com/2012/04/how-to-add-floating-facebook-share-1.html
https://scripterzone.blogspot.com/
https://scripterzone.blogspot.com/
https://scripterzone.blogspot.com/2012/04/how-to-add-floating-facebook-share-1.html
true
5307945339913565444
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content