--> Add Floating Facebook Share & +1 Button Next To Posts in Blogger | Experience Lab - Online business creation and development guide for bloggers and startups

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

Ever wondered to create a Mashable type floating sharing widget for your blogger blogs? There you have it today! We released a sliding, scro...



floating sharing widgetEver wondered to create a Mashable type floating sharing widget for your blogger blogs? There you have it today! We released a sliding, scrolling widget last month which contained major social media sharing buttons but some of you complained that the widget do not work properly with the new blogger templates so to keep things more flexible, we are releasing yet another version of a floating widget which contains the best social buttons like Facebook Share/like, Twitter and Google +1 button. All in one. I have not used any scripts this time and this widget works purely on CSS and HTML and is fully compatible with all major browsers. You can see this sticky widget to left of my blog post. I have made sure to keep the installation process as easy as possible so be confident to try this one out to better increase your social engagement and thereby your page views.


 Did you check the Latest version? Floating Sharing With Pinterest and Others


Adding The Sticky Floating Widget Next To Blogger Posts



  1. Go To Blogger > Design

  2. Choose a HTML/JavaScript widget

  3. Paste the following code inside it,



<style>
/*-------MBT Floating Sharing Widget------------*/

#floatdiv {
  position:fixed;
bottom:15%;
margin-left:-70px;
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="mybloggertricks">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://www.mybloggertricks.com">Widgets</a></p>
    </td>
    </tr>
    </table>
</div>
</div>


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

floating-widget

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

save-button

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


Customization


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

To Change the background colour of the floating widget then change this background:#fff;
Use our color generator or colour chart to select a colour.

If you wish to show the widget only on post pages and not the homepage then follow these steps.

Give this floating widget a temporary title then do this


  1. Go To Blogger > Design > Edit HTML

  2. Backup your template

  3. Check the Expand Widgets Templates Box

  4. Search for the title of the widget

  5. The code for the widget will look something similar to this one,



<b:widget id='HTML8' locked='false' title='WIDGET-TITLE-HERE'  type='HTML'>

<b:includable id='main'>

bla bla bla bla

</b:includable> </b:widget>

Once you find the title then add the following two green bolded codes just below and after the bolded black text. For example if you wish to show a widget at Homepage only then do this,




<b:widget id='HTML8' locked='false' title='WIDGET-TITLE-HERE' type='HTML'>

<b:includable id='main'>

<b:if cond='data:blog.pageType == "item"'>

bla bla bla bla

</b:if>

</b:includable> </b:widget>

Save your template and you have successfully stopped the widget display on homepage and allowed it on all post pages. For learning more about how to control the widget display then read:


If you liked this widget then please try tweeting and sharing this post using this new widget to your left. :) Peace and blessings brothers and sisters.

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,11,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,17,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Add Floating Facebook Share & +1 Button Next To Posts in Blogger
Add Floating Facebook Share & +1 Button Next To Posts in Blogger
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1YnP6EWkBFBJCjeQAjo7byG-a0mm2tSw5y5zQSr1C8zY1fDeD9hgBwiatqYsV7P9jj0OaQU0ssDPBHkcvGXm-txFo77JDfW3Wnv3nJoR8DjeabUBhnGVlhpgIBvnb_YBkDeV7PsqE8go/?imgmax=800
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1YnP6EWkBFBJCjeQAjo7byG-a0mm2tSw5y5zQSr1C8zY1fDeD9hgBwiatqYsV7P9jj0OaQU0ssDPBHkcvGXm-txFo77JDfW3Wnv3nJoR8DjeabUBhnGVlhpgIBvnb_YBkDeV7PsqE8go/s72-c/?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2011/08/add-floating-facebook-share-1-button.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2011/08/add-floating-facebook-share-1-button.html
true
2959477579779989044
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. STEP 2: Click the link you shared to unlock 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