Floating Social Media Share Button For Blogger

Floating Social Media Share Button For Blogger

Floating share buttons are designed to float in a fixed position and this position can be controlled using CSS. Floating social media share buttons remain fixed in a particular position even if reader scrolls the page which makes them the best option for increasing social engagement.

These floating share buttons are completely designed by the livthreads.com using pure HTML and CSS. If you like this gadget you can share these codes but don't forget to give a backlink.


Key Features:
  • Faster and smooth function.
  • Requires no external data or scripts.
  • Only appears in post pages.
  • No mobile tag.
  • Easy installment.

How to install floating social share button in blogger ?

Step1: Go to Blogger > Theme > edit html .

Step2: Click any where in the codes and search for </body> using Ctrl + F. Paste below codes before </body>

<b:if cond='data:blog.isMobileRequest != &quot;true&quot;'><b:if cond='data:blog.pageType == &quot;item&quot;'><div class='atset'><div style='position:fixed;width:50px;height:auto;left:5px;top:150px;z-index:9999;'><a expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:blog.url' target='_blank' title='Share On facebook'><img src='https://3.bp.blogspot.com/-1ip89x4MR6A/WMkYqtoIP1I/AAAAAAAABLI/JGH_jb22zSseFFuTIFDUJt4_sL4Ic8hmQCLcB/s1600/facebook-icon-preview.png'/> </a><a expr:href='&quot;https://plus.google.com/share?url=&quot; + data:blog.url' target='_blank' title='Share On Google+'> <img src='https://1.bp.blogspot.com/-eg9iZoT2YDE/WMkYrftobwI/AAAAAAAABLU/VDHVI7LpbOI3vFyl48iakeGvses97zY1gCLcB/s1600/unnamed.png'/> </a><a expr:href='&quot;http://www.linkedin.com/shareArticle?mini=true&amp;url=&quot; + data:blog.url' target='_blank' title='Share On linkedin'> <img src='https://2.bp.blogspot.com/-rzuBgWxRcQY/WMkYqvuPLtI/AAAAAAAABLM/-FofxCWxNMMI9rrtykEpSwTEzh6WqARCQCLcB/s1600/linkedin-recruiters-connection.png'/> </a><a expr:href='&quot;https://twitter.com/share?url=&quot; + data:blog.url' target='_blank' title='Share On twitter'> <img src='https://3.bp.blogspot.com/-1IzD3eNPbV0/WMkYqTS0KWI/AAAAAAAABLE/NlSKb5iwHzg-Jmg77lcXYF9YmQrtu9stQCLcB/s1600/Twitter.png'/> </a><a expr:href='&quot;whatsapp://send?text=&quot; + data:blog.url' target='_blank' title='Share On whatsapp'> <img src='https://2.bp.blogspot.com/-rfz_Z71freo/WMkcLofaRKI/AAAAAAAABLk/vwytZUqYHjQuOqfozaZZ_LqakedMwUMMQCLcB/s1600/whatsapp-logo-PNG-Transparent.png'/> </a><a expr:href='&quot;http://www.stumbleupon.com/likecontent?url=&quot; + data:blog.url' target='_blank' title='Share On stumbleupon'> <img src='https://1.bp.blogspot.com/-rUV_vL_pBCQ/WMkYrS5464I/AAAAAAAABLQ/2M-vUQpmE-MnEDuM9lh3TwkNeylOJgBpACLcB/s1600/unnamed%2B%25281%2529.png'/> </a><a href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());' title='Share On pinterest'> <img src='https://3.bp.blogspot.com/-30BXpMM5Uig/WM1VMff66UI/AAAAAAAABOk/5KX-ZyWCvQUPJR0gKekcFBqc33MRSCxYwCLcB/s1600/pin.png'/> </a></div></div></b:if></b:if>

Step3: Now, Search for ]]></b:skin> and place below CSS before it.

.atset img:hover{transform:rotateY(30deg);}

Step4: Save changes , that's it. Check you post pages.

No comments:

Post a Comment