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 mydatanest
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 the code provided by daddydesigns. 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 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.
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 »









34 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
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. Please do not spam Spam comments will be deleted immediately upon our review.
Regards,
Mohammad