Created
March 7, 2012 23:04
-
-
Save johnantoni/1997008 to your computer and use it in GitHub Desktop.
Facebook like hack to hide the like count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fb_like #fb | |
width: 48px | |
.fb_edge_widget_with_comment iframe | |
width: 48px !important | |
.fb_edge_comment_widget | |
&.fb_iframe_widget iframe | |
width: 401px !important |
This is no longer necessary - just use the "button" layout - https://developers.facebook.com/docs/plugins/like-button
Also, it's against the FB terms to obscure elements of the social plugins: https://developers.facebook.com/policy/, 13.4.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
This whole thing is not working perfectly. Think FB has changed something with their button code again.
Also noscript function "clearclick" gives a Hijack Warning because of the visible content behind the button...