Wednesday, February 1, 2012

Add a Facebook Like Box without the Branding

The Facebook Like box placed on your website /blog is probably the easiest way to attract new fans to your Facebook page.
And the same rectangular box can even help convert casual visitors to your site into regular ones. That’s because the photo pile inside the box will show visitors pictures of their friends who are already fans and when they seen a known face, it could increase their relative interest in your site.

facebook like box

Customize the Facebook Like Box with CSS

Facebook offers a simple Like Box plugin that you can easily integrate into your website using either JavaScript or IFRAME. You can customize the border color, the height and the width of the Like Box but, officially, nothing more.

That said, if you would like to add a background color to the Like Box to better match your site’s color theme or if you would like to completely remove the Facebook logo and other branding from the box to make it less crowded (see demo), you can easily do that with the help of CSS.

To get started, copy the code below and paste it anywhere inside your website template. Change the URL in Line19 to point to your own Facebook page and you’re done.

<style type="text/css">
.facebookOuter {
padding:10px 0 10px 10px;
border:1px solid #CCCCCC;
.facebookInner {

<div class="facebookOuter">
<div class="facebookInner">
<div class="fb-like-box"
data-width="245" data-height="290"
data-border-color="#F4F4F4" data-show-faces="true"
data-stream="false" data-header="false">

<div id="fb-root"></div>

<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

Now the boring technical stuff.

The default background color of our Facebook Like box is #F4F4F4 but you can use any other web color (change values in Line 03 and Line 20). Similarly, if you want to have a more wider or taller Like box for your website, you can need to change the width and height values defined in lines 4, 6, 10 and 18.

The above example uses the JavaScript version of the Facebook Like box though the same can be applied to the IFRAME version as well. In that case, you need to replace Line # 17-21 with the IFRAME tag.

Fill in below to get the FREE HOT Gadis Indonesia pictures to your email directly !

1 comment :

  1. Sayangnya ukuran tinggi kolom tidak bisa di ubah, kalo di ubah muncul lagi tulisan plugin socialnya.


Trimakasih dah komen lho ! Kenapa gak sekalian langganan liwat email ajah ? Kan enak tuh, gak mesti ngebrowse ke sini, tiap ada posting baru tinggal buka email udah bisa deh baca bikinblogger. Klik ajah di sini.


Suka dengan postingan diatas ? Langganan aja lewat email, gak perlu buka internet bisa baca artikel terbaru di bikinblogger deh...caranya gimana ? Ya tinggal klik di sini
Copyright © 2014 Bikin Blogger Share on Blogger Template Free Download.