Facebook Like Button - how to disable Comment pop up?

BrynJ picture BrynJ · Jul 14, 2010 · Viewed 95.7k times · Source

I'd like to disable the Comment box that pops up when a user clicks the Facebook (fbml) Like button I've placed on my site. Is this possible to do? I can't find any details in the documentation.

Answer

Mohammad Arif picture Mohammad Arif · Feb 2, 2011

Simplest fix to hide the comment box after Facebook Like (XFBML version not the iframe one) is as given:

.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
    display: none !important;
}

Put the CSS style in any of your CSS file and see the magic, it works :)