Viewing 1 replies (of 1 total)
  • Plugin Contributor Niall Kennedy

    (@niallkennedy)

    The Facebook plugin for WordPress does not add extra CSS to the output Like Button. The plugin outputs a <div class="fb-social-plugin fb-like"> element with data attributes interpreted by the Facebook SDK for JavaScript after your page has loaded.

    Plugin version 1.5 removed an extra CSS file loaded with each page. This CSS file included a rule for .fb-social-plugin setting the top margin of all Facebook social plugins (Like, Send, etc.) to 2 pixels. It is possible the presence of this 2 pixel rule was enough to override a 400 pixel rule somewhere on your site yet .fb-social-plugin is not likely to win any specificity battles.

Viewing 1 replies (of 1 total)
  • The topic ‘Facebook Like Button problem’ is closed to new replies.