Topic-icon Like Plugin iFrame width

Active Subscriptions:

None
12 years 8 months ago #12775 by marsne
The iframe tag inside the fb:like tag doesn't seem to be picking up my width parameter. I've set the parameter to 200 and the class definition picks it up. The subsequent iframe tag is using a width of 255px causing an overflow. My url is msneadfamily.com
The topic has been locked.
Support Specialist
12 years 8 months ago #12802 by alzander
Replied by alzander on topic Like Plugin iFrame width
Mark,
Sorry for the delayed response. Looking at the HTML code for the Like button, it's showing that the width is set to 250, which I think is the default we use for the Content Plugin which automatically inserts the Like button into articles. Can you check the Content Plugin - Like tab in the Social configuration area and make sure the width you want is properly set there? If so, let us know, and we'll come up with some other suggestions to help get you going.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12812 by marsne
Replied by marsne on topic Like Plugin iFrame width
I've set the parameter in the component to 200 as well as the parameter in the module. The screen shot I attached is the code that I get in Firefox using Firebug. It seems to be the iframe width of 225 that is controlling.
The topic has been locked.
Support Specialist
12 years 8 months ago #12870 by alzander
Replied by alzander on topic Like Plugin iFrame width
Mark,
Sorry for all the trouble. Had to do a little research, cause honestly, we hadn't heard about this before. Basically, it comes down to a limitation by Facebook. In the standard view, the Like button has a minimum size of 225px. For the full documentation, see:
developers.facebook.com/docs/reference/plugins/like/

Specifically

layout - there are three options.
* standard - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos).
* button_count - displays the total number of likes to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels.
* box_count - displays the total number of likes above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels.


Hope the button or box count sizes work for you, but the standard just doesn't look like it will fit your constraints. If not, or you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.