How to Add Floating Social Media Icons to Blogger
Today we will learn how to add floating social media connect/subscribe icons to Blogger. The icon buttons are said to be connect as it will only let your blog readers to connect or subscribe with your blog through social media sites. It's mainly found floating right or left and outside of your blog.
In this tutorial, the social sites that I have included are Facebook, Twitter, RSS and Email icons and of-course, you can see them floating. So let's go through the tutorial.
1. Go to Blogger's Template tab and click "Edit HTML".
2. Find the closing </body>
and before it add the following codes:
<!-- SimpleBloggerTutorials.com --> <div class="flt-wdt"> <!-- Facebook --> <a href="http://www.facebook.com/Page-Name
" title="Join me on Facebook" target="_blank"><img alt="Join me on Facebook" src="http://facebook-image.png" /></a> <!-- Twitter --> <a href="http://twitter.com/USERNAME
" title="Follow me on Twitter" target="_blank"><img alt="Follow me on Twitter" src="http://twitter-image.png" /></a> <!-- RSS --> <a href="http://feeds.feedburner.com/feed-address
" title="Subscribe to RSS" target="_blank"><img alt="Subscribe to RSS" src="http://RSS-image.png" /></a> <!-- Email --> <a href="http://example.blogspot.com/p/contact-page
" title="Email me" target="_blank"><img alt="Email me" src="http://Email-image.png" /></a> <!-- Example/Delete --> <a href="Any Social Site" title="Give it a title"><img alt="Give it a title" src="http://your-image.png" /></a> </div> <!-- End -->
If there are any JavaScript added before the closing </body>
tag then add the above codes before the scripts. Below is an example:
Click to enlarge |
Now all you have to do is to change the highlighted codes. For example, change the Page-Name
to your Facebook Page name or the USERNAME
to your Twitter profile. Also upload your own icons, get the direct links and replace "http://your-image.png" with the icons respective to the social sites.
If you need to add more floating icons of your favorite social sites then the format is given within the above codes as "Example/Delete". If you don't need it, then delete these snippets.
3. Find ]]></b:skin>
and before it add the following CSS part:
.flt-wdt{ position: fixed; right: 10px; top: 43%; } .flt-wdt img{ float: right; clear: right; margin: 5px; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } .flt-wdt img:hover{ -moz-transform: scale(1.2) rotate(6deg); -webkit-transform: scale(1.2) rotate(6deg); -o-transform: scale(1.2) rotate(6deg); -ms-transform: scale(1.2) rotate(6deg); transform: scale(1.2) rotate(6deg); }
The full widget will be seen floating to right. Changing every right in step 3 to left will make the widget to float to left. If you need to reset the position of it from the top, then increase or decrease 43%
or leave as it is.
4. At last save your template. Now you have floating social media buttons for your Blogger blogs.