Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the "Be the first of your friends to like this" part of the standard iframe Facebook Like button?

I'm using the standard Facebook Like button (iframe, not fbml). Is there a way to only display the like button, not the 'Be the first of your friends to like this' part?

like image 301
Tom Avatar asked Jul 07 '10 10:07

Tom


4 Answers

This is currently not configurable. If you use the button_count layout, then you won't see that text.

like image 167
daaku Avatar answered Nov 16 '22 18:11

daaku


As of today's date, in the Like Box code, instead of layout=standard use layout=button_count and that will show the count bubble & remove that text.

like image 30
Devner Avatar answered Nov 16 '22 19:11

Devner


You can simply do this using CSS. Place the like button inside a div. Give the div containing the like button some width. Then set overflow to hidden. Should work!

like image 3
metaldog Avatar answered Nov 16 '22 19:11

metaldog


If you want to just have "x people like this" then:

.fb-like { overflow: hidden; width: 171px; }

If you want to have just the number of people that like it in a box then with the Like Button Generator select button_count from the Layout Style drop down.

like image 1
reflexiv Avatar answered Nov 16 '22 19:11

reflexiv