No one denies the importance of social sharing in recent world. Social Media play significant role to bring quality traffic to your website or blog. Today’s post, I am introducing your best vertical social sharing buttons to bloggers. Floating buttons have the edge of the header or footer static buttons. It catches the eyes of your post reader and he can easily share it. Moreover, it's a vertical float with the page and your readers easily share it with a single click. According to analyses of social share button providers, vertical floating buttons more share as compared to static buttons.
How to add Floating Social sharing Buttons,
- Firstly, make the backup of your blogger template.
- Login to your blogger dashboard, >>go to Template>>Edit HTML
- Find <html leave a space and add the following code after it.
<
- If it already exists, you don’t need to do it.
- Now search for “<dat
a : post . body/>” and if itfin ds more than one, Now find for “< class='post-footer-line post-footer-line-1'/>”di v - In addition, just below it paste the following code.
<b : if cond=’data: blog. pageType == "item"’><! –Start Floating Share Buttons with Pinterest–><style type=’text/css ’>#dc-float {position: fixed; bottom: 15%; right: 10px; float: left;-webkit -border-radius: 5px;-moz -border-radius: 5px;border -radius: 5px;border : 1px solid #BBBBBB;background -color: #FFFFFF;-webkit -box-shadow: #B3B3B3 5px 5px 5px;-moz -box-shadow: #B3B3B3 5px 5px 5px;box -shadow: #B3B3B3 5px 5px 5px;padding : 0 0 2px 0;z-index: 10;}#dc-float. 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;-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=’dc-float’ title=’Share with your friends’><div class=’sbutton’ id=’rt’><a class=’twitter-share-button’ data-count=’vertical’ href=’http://twitter.com/share’>Tweet</a><script src=’http://platform.twitter.com/widgets.js’ type=’text/javascript’/></div ><div class=’sbutton’ id=’su’><script src=’http://www.stumbleupon.com/hostedbadge.php?s=5′/></div ><div class=’sbutton’ id=’digg’ style=’margin-left:3px;width:48px’><div id="fb-root"></ div><script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s )[0
]; if (d.ge
tEle mentById(id))re turn; js = d.creat eElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=16754426338 2192&qu o t;; fj
s.pa rentNode.inse rt Befor e(j s, fjs);}(document, 'script', 'facebook-jssdk'));</sc ript><div class=’fb-like’ data-layout=’box_count’ data-send=’false’ data-show-faces=’false’ data-width =’48′ /></div><div class=’sbutton’ id=’gplus one’><script src=’https://apis.google.com/js/plusone.js’ type=’text/jav a script’ /><g:plusone size=’ tall’ /></div><div class=’sbutton ’ id=’gb’><a class=’pin-it-button’ count-layout=’vertical’ expr:href=’"http://pinterest.com/pin/create/button/?url=&q uot; + data:post.url’> Pin It</a><a href= ’java script:void(run _pinmarklet())’ style=’ margin-left:- 46px; width:4 3px; height:20 px; display:inline-bloc k;’/><script src=’http://assets.pinterest.com/js/pinit.js’ type=’text/javascri pt’/><script type=’text/javascri pt’>function nru _pinma rklet() {var e=document.cr eateElement('script');e.s etAttribute('type',&# 39;text/javascript');e.s etAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r=& #39; +M ath.random()*999999 9 9);do cument.body. appendChild( e);}</
scrip t></div><div class=’fb_button_share’><div id="fb-roo t"> </div><script>(function(d, s, id) {var js,f js= d.getElements B yTagName(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&a ppId=112973755438 9 33"; / / appId must be vali dfj s.parentN ode.insertBefore(js, fjs);}(document, 'script',  9 ;facebook-jssdk'));</script><fb : share-b u tton type= "bo x_count"></fb:share-button></div> < br/><!–End Floating Share Buttons with Pinterest–></b:if>
Now save the template and you add the floating buttons in your blogger.
The default sharing buttons appear on the r
Replac
At last, I hope you ike the post and share it on social media
Comments
Post a Comment