Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook comment plugin: remove like button

Tags:

facebook

The FB: comment plugin comes with both a like button and comment box. Does anyone out there know how to remove the like button from the facebook comment plugin?

like image 877
prostock Avatar asked Sep 28 '10 17:09

prostock


People also ask

Can you remove the Like button on Facebook?

Tap Edit profile. Under “Public business information,” tap Action buttons. Tap on Active on profile. Select the button you'd like to remove.


1 Answers

I got it working:

To remove (hide) the like-button that comes above the comments-box To hide the Like botton, you will need to add 2 attributes and create a CSS file. 1. simple="1" 2. css="http://yoursitedomainname.com/fb_comments.css"

<fb:comments expr:title='data:post.title'

expr:url='data:post.url' expr:xid='data:post.id' simple='1' css='http://yoursitedomainname.com/fb_comments.css'/>

in the css file add this style code:

div.like, div.like div {display:none;}

If you want you can just link to my hide CSS file: http://www.fileden.com/files/2006/10/3/258652/hidelike.css

Thanks to Gil Goldshlager, original post @ forum.developers.facebook.net/viewtopic.php?id=58903

like image 75
mctaco Avatar answered Oct 21 '22 01:10

mctaco