How to make Facebook like button narrower than 225px?
Posted
by
tog22
on Pro Webmasters
See other posts from Pro Webmasters
or by tog22
Published on 2012-05-16T16:23:40Z
Indexed on
2012/06/28
3:25 UTC
Read the original article
Hit count: 220
I'm generating a like button with Facebook's 'standard' layout for my site via https://developers.facebook.com/docs/reference/plugins/like/ . I've set its width to 200 pixels, but notice that setting it to lower than 225 pixels has no effect, and the documentation on that page indeed specifies 225px as the minimum width for the standard layout. Unfortunately I need to make it 200 pixels wide to fit my site's design. Is there any way to force it into this width?
(The site's at http://gwwc2.centreforeffectivealtruism.org/ if you want to have a play with Firebug, though the like button gets generated by javascript so you'd probably have to duplicate that page and edit its source.)
© Pro Webmasters or respective owner