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

22,970

Solution 1

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

Solution 2

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.

Solution 3

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!

Solution 4

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.

Share:
22,970
Tom
Author by

Tom

Updated on March 24, 2020

Comments

  • Tom
    Tom about 4 years

    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?