adf.ly - shorten links and earn money!

How To Hide Facebook Fan Page at the Sidebar in Blogger

Usually, you will find a Facebook fan page at the sidebar or footer. Now can hide your Facebook Fan Page widget. Wonder how? Look at the demo.

DEMO

LET'S ADD IT
1. Go To Dashboard >> Design ->> Edit HTML

2. Check the "Expand Widget Templates" box

3. Search (Ctrl+F) for </head> tag,


4. Then, copy and paste the code below, BEFORE </head> tag,
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'/>
*If you already have the code in your template, just ignore step no 4.

5.  Save your template.

6. Now go to your Dashboard >> Design >> Page Element >> Add a Gadget.

 

7. Paste this code in.
<script type="text/javascript">
//<!--
$(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://lh5.googleusercontent.com/-2Y9pcoJRI7M/Tx6YYEBCmYI/AAAAAAAADHc/AYqW7xyJrtM/s150/HHLab_facebookbadgeBlue.png") 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>

<iframe src="http://www.facebook.com/plugins/likebox.php?href=YOUR FAN PAGE URL&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp;connections=9&amp;stream=false&amp;header=false&amp;height=330" scrolling="no" frameborder="0" style="border: medium none; overflow: hidden; height: 330px; width: 245px;background:#fff;"></iframe></div></div>
*YOUR FAN PAGE URL = Put your Facebook Fan Page URL

8. You can change the facebook logo with another color given below, or use your own image.

 

GREEN: https://lh3.googleusercontent.com/-0TYWQUt75zM/Tn1IV9ES9CI/AAAAAAAABvQ/q9vwL-wsotc/s150/crb_facebookbadge.png

PINK: https://lh3.googleusercontent.com/-shUvasIKy4A/TnyFy8JL92I/AAAAAAAABvE/D0ucB6hYB4c/s150/mhw_facebookbadge.png

9. Save. You're done.

Refresh your blog to see the result. =)

+ Leave your comment.

2 comments:

  1. There is obviously a lot to know about this. I think you made some good points in the Features also.

    ReplyDelete
  2. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.

    ReplyDelete

Drop your comment. Ask or suggestion.

Join us on Faceboook Page too.