Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fb:like-box, custom css?

Is it possible to add a custom css file to a fb:like-box? For example, I would like to remove the borders around the iframe. Thanks

like image 335
Johan Avatar asked Feb 02 '11 13:02

Johan


1 Answers

The new like-box does not accept the "css" attribute. You have to use the old fb:fan plugin to achieve it.

For example:

<fb:fan profile_id='[PAGE_ID]' width='300' height='256' show_faces='true' stream='false' header='false' css='[CSS_URL]'></fb:fan>

Remember to add the "all.js".

like image 93
DanielBlazquez Avatar answered Oct 13 '22 22:10

DanielBlazquez