Floating Facebook Like Box Widget For Blog or Website
Generally many website or blog Use fixed Facebook like Box in their pages. But using fixed Facebook like box on the blog or website page may consume valuable spaces of the blog or website page. That is why many blog or website owner don't want to add fixed Facebook Like Box. Floating Facebook Like Box may be the solution for this problem. Lets see how to add floating Facebook Like Box.
- Follow the below steps to Add Floating Facebook Like Box:
- At first log into your Blogger Account.
- Then click on the Template option.
- Now click on Edit HTML.
- Here in the HTML page Search for <head> and Copy and Paste the below code just Below the <head> tag.
- Then click the Save Template button.
- Then click on the Layout option.
- Here you will get several add a gadget button.
- Now click on Add A Gadget button. ( you can choose anyone ).
- Then from the gadget list click HTML/ JavaScript.
- Now Copy and Paste the below Code in the Content box.
- Customization
//<!--
$(document).ready(function() {$(".w2bslikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.w2bslikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNbAUEIrAnfrl07y9pSWex4EcZpmDn3oYAmIDgjP7D1DiIGz5iZzyhX3l-Df0aHzzMzyRc7et4bn0UMAd1yx0ep40nq_LYJN5E7NMUH_atfKlepPbvztMVj77FOyDNvX5y_PSCyCWzdFig/s150/w2b_facebookbadge.pn") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: #808080;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style><div class="w2bslikebox" style=""><div>
- with your Facebook Page Username.
- The click the Save button.
No comments:
ehijoshua2 at facebook