- Creating The style sheet for Like Box
- Creating a custom Like Box code
Update: We only showed you what you can do. You can edit the CSS to try your creativity and make any design you like. See Likebox with mouse hover effect
1. Creating the Stylesheet For Like Box
Creating a style sheet is really easy. Just do this,
1. Copy and paste the code below inside a notepad
/*---------------MBT's Custom Like Box Start--------------*/To keep it simple make these changes:
.fan_box a:hover{
text-decoration: none;
}
.fan_box .full_widget{
height: 200px;
border: 0 !important;
background: none !important;
position: relative;
}
.fan_box .connect_top{
background: none !important;
padding: 0 !important;
}
.fan_box .profileimage, .fan_box .name_block{
display: none;
}
.fan_box .connect_action{
padding: 0 !important;
}
.fan_box .connections{
padding: 0 !important;
border: 0 !important;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #666;
}
span.total{
color: #0080ff;
font-weight: bold;
}
.fan_box .connections .connections_grid {
padding-top: 10px !important;
}
.fan_box .connections_grid .grid_item{
padding: 0 10px 10px 0 !important;
}
.fan_box .connections_grid .grid_item .name{
font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
font-weight: normal;
color: #289728 !important;
padding-top: 1px !important;
}
.fan_box .connect_widget{
position: absolute;
bottom: 0;
left: 0px;
margin: 0 !important;
}
.fan_box .connect_widget .connect_widget_interactive_area {
margin: 0 !important;
}
.fan_box .connect_widget td.connect_widget_vertical_center {
padding: 0 !important;
}
/*---------------MBT's Custom Like Box End--------------*/
- To change the font size edit font-size: 11px;
- Replace the heading color ( #0080ff ) with a color of your choice. You can use our color generator tool
- Replace the Profile Nick Names text color ( #289728 ) with one of your choice.
Save the file with the extension FB.css as shown below,
3. Finally upload the file on your hosting server or you can try any other free hosting service. I recommend Google Code.
You can use our link too: http://mybloggertricks.googlecode.com/files/facebook.css
4. Once you have uploaded the stylesheet file, you will be provided with a direct link to it. Keep it safe as we would need it later.
5. You are done!
2. Creating a Custom Like Box Code
Instead of using the new code provided on the developers page, we will use and modify a custom code. This is the modified code you need to use:<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script>The above code structure consists of 4 important sections which must be filled properly.
<script type="text/javascript">FB.init("");</script>
<fb:fan profile_id="LIKE PAGE ID" stream="0" connections="10" width="300px" height="200px" header="0" logobar="0" css="STYLE SHEET LINK"></fb:fan>
- Like Page ID
- Connections i.e. Number of Profile Faces/pics
- Width and Height Dimensions
- Stylesheet link
- Replace with the 12-15 digit numeric ID of your Facebook Like Page. You can find this ID inside your Like Page URL. For example: The URL of my like Page is,
https://www.facebook.com/pages/My-Blogger-Tricks/147104632016744
- I have kept the number of profile pics denoted by connections equal to 10. You can reduce it if you want.
- Replace STYLE SHEET LINK with the link of the stylesheet your previously uploaded. I will mention later how to create
Credits
Readers and developers are requested to kindly link back to this page if they wish to share this working tutorial with their visitors. It's the only tutorial published after daddydesigns tut which provides a modified solution.Please let us know if you needed any help. Peace and blessings pals. :)

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »









61 comments:
I have tried out your code and it doesn't seem to work. The Like box is displayed with default CSS. Can anyone get this working?
@although
Did you add your Facebook ID correctly and add the proper CSS extension? Did you upload the file?
Buddy the customization works like 123. See another example here -> Customized Facebook Like Box
bhai m getting error help me
Plugin cannot be rendered with the specified parameters.
my blog is
www.theindialeaks.blogspot.com
and your blog is too cool!
@true
i have problem like u. How to Fix it?
@Irham7297
waiting 4 reply
@true @irham
Please find the solution here -> Fix Like Box
Great... I´ve been looking for this.
Thanks a lot for sharing it.
I have onlu one problem, i don´t have a Page ID. My fb site was upgraded and now the address is just facebook.com/purelightphotography
Do you have any idea how should i modify the code?
Have a nice day
Registration has been disabled by mydatanest
But what to do if the "Facebookpagename" is too long, is there a way to change the showing name with css? please answer
I seem to have some trouble showing the likebox
www.monity.nl
it wont show up at all
tried multiple css links but nothing comes up
Error.. the msg is : Could not retrieve id for the specified page. Please verify correct href was passed in.
i am trying to put like box on my liquid page..can you tell me how to do that
@Jeremy
I solved the problem, I made some modification with MBT link back
SimplifiedBlogging
Okay, I got some fix with this nice tutorial, I made this thing works for me, and i got you the direct link: http://testingforsb.atwebpages.com/fbgreen.css (for the green font)
http://testingforsb.atwebpages.com/fb.css (for red font>
Please red the complete solution with of course credits and back links to MBT! simplifiedblogging.com
better upload on google,
using this tutorial
http://www.intechgrity.com/freely-host-css-js-other-static-files/
bro i can't able to upload the file in datanest, can u please suggest me any other file hosting serives top upload my face book like box bro,
this is my blogger www.techradarinfo.blogspot.com
Thanks... this was a big help.
I like this tutorial..
THANK YOU, THANK YOU, THANK YOU!
Can we reduce the width below 300px?
Thanking you for this amazing post hope u will keep it up..
How To Save Ur Blog From Sopa/pipa
http://code.google.com
google code is the best way to upload any file
fb like box is not appearing with the style sheet i have defined.... it is appearing with the default css of facebook... what to do ?
Great tutorial Mohammad!
A question.
I want to display the facebook wall feed, rather than displaying who likes the page.
If I use the standard way to get a like box, I can simply add the code "force_wall=true" to make it happen.
But do you, or anyone else know a way to display the feed using this tutorial's method? (So that I can style it the way I want)
Cheers!
Björn
Great... I´ve been looking for this.
Thanks a lot for sharing it.
MBT Facebook Hacking Guide
Thanks Mohd.. I have applied it to my blog but tweaked it & it gives excellent result. Also, provided with complete graphical presentation "How to DIY". I have also solved the problem of not having Like Page ID. Have a look at my Blog & let me know what do you think of the same.
http://www.yourbloggingtips.com/2012/03/facebook-like-box-widget-for-blogger.html
Wow very cool, I want to try it master..
Keep posting such kind of information on your blog. I bookmarked it for continuous visit.
html5 media player
nice fb like widget great share
PC Tips and Tricks
Awesome! Long time I thought this was impossible, which is exactly what FB wants us to believe... lol.
Thanks :D Too bad I cant get the locale working.. but working on it. Slm!
I really like this site, feel this site impressive and interesting.
Custom Facebook App Development
I have done. Thanks for sharing.
I share the CSS tips: Programming and Coding
Worked like a charm! Thank you!
if your widget is not following your css, try adding the following to the end of it like so:
/path/to.fb.css?1
MAKE SURE you increment it by 1 for every time you make changes.
example: /path/to.fb.css?2
example: /path/to.fb.css?3
example: /path/to.fb.css?4
dear mohammad..I had sent u already problem detail and here I m again asking to solve it.please let me know how can I get this type of fb like page at startup ...code please? see link below
http://gstek.info/forum/topicseen./webmasters-forum/how-can-i-create-fb-like-widget-see-screen-shot-33856.msg463563.html#msg463563
sir how can i add blog updates in Face Book pages pls send information thank you.
can I just pay you to do this for me?
I love the customized like box - it makes it seem so much more a part of the site instead of a copy and pasted tool from somewhere else.
I do have a question - The Stream content is very short at only (215px) and I would like it to be most of the content (375px of the 400px). I have been trying to edit the length but it is built into the html that I have no access to. Do you have any suggestions?
@Nihit
You are required to kindly link back to this page to avoid copyright violation. We found no link on your page pointing here.
@Jitendra Indave
This is a facebook popup that we created two versions. Please find theme here: Jquery Facebook popup1 and Jquery Facebook popup2
and a new one Jquery Facebook pop up with timer
@Jeff Neal
We do offer premier help please contact us through services page
@James
You will have to edit the height both in CSS and HTML. In CSS edit this part:
.fan_box .full_widget{
height: 200px;
border: 0 !important;
background: none !important;
position: relative;
}
In HTML edit the part at the last line i.e. Height="200px"
Also change the number of connections (profile pic number)
Hope this helps :)
Hey there! Thanks so much for this! I followed each step carefully but for some reason it's not working?
The file is called FB.css.txt - I uploaded it onto Google Code as advised. Have I named it incorrectly?
Thank you!
I'm new to this is the instruction that you are listing here for this cool light box pop up that shows up at the lower right hand side of your blog page? The one that is a facebook like botton and it has a list of recent article.
Does this get set up in your blog or your facebook page. I would love to get it on my site. my site has a plug in tool box that makes it easy to add things like this. I would love to see if it would work on my site. I have a service request in. Not sure what the style sheet is, is related to the facebook like box?
Please please i want set an image width and height for all thumbnail of fb like box. How to do it? Thank you very much..
cool trick..I will surely try it on my blog .
Regards
Technology Blog
It's work for me, but idon't want to show face! when i set conncetion to (0) it don't show amount of people like. Thanks
How do you get the like button to appear on top again. when I use stream "yes", the like button falls in the middle of my stream post. Please Help
very nice tricks...Download lot of bangla books
Its nice way to edit the style of like box. Will certainly do it in my blog .
Thanks nice post
All Pc Tips
sir how to find our page id.. I see my page url but page id was not there....Pls answer......
Thanx
Well this trick worked for me :) and nice share 1 like for this.
CSS3 Zoom Out Social Sharing Plugin For Blogger
my neighbor's mother got paid $18735 the prior month. she been working on the computer and bought a $423000 house. All she did was get blessed and profit by the directions made clear on this web page http://Run19.com
For bloggers amispace Widget Creator is a wonderful tool to create a custom Facebook Like box for your blog. You can adjust height, width along with background colour.
http://amispace.com/create-custom-facebook-like-box/
if you have converted your Facebook page ID into username you can still get your page id.
=> Click on Edit Page Button
=> Update infor
when you open this link your page id will be shown in browser address bar copy this id and use it..
Mohammad Mustafa bai thank you soo much for sharing this..
Remember to add your SDK code guys,the one that has:
<div id="fb-root"></div>
<script>undefinedfunctionundefinedd, s, id) {
var js, fjs = d.getElementsByTagNameundefineds)[0];
if undefinedd.getElementByIdundefinedid)) return;
js = d.createElementundefineds); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=265806670123892";
fjs.parentNode.insertBeforeundefinedjs, fjs);
}undefineddocument, 'script', 'facebook-jssdk'));</script>
I totally left that out lol.
Is there an alternative since Facebook has changed the script again. All of my Fanbox has changed to default box again.
They did change the code...
Now all the custom layout and design have been destroyed....
Yes they changed something, not working any longer...
Can someone *PLEASE* post a link to a working example of this?
Click Here To add Comment
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.
Regards,
Mohammad