Topic-icon Responsive width for social plugins

Active Subscriptions:

None
13 years 10 months ago #24592 by jonng
Hi,

I'm having a small issue with the widths of the social plugins.

Basically, my website is using a template that directs users to a scaled down mobile version of the website if they detect them on a mobile device. However, because of the fixed widths of the social plugins (FB Like and Comments), it is causing the mobile template to break. Is it possible to set the widths of these as a percentage value instead of as a fixed pixel value?

Thanks.

Cheers,
Jon
The topic has been locked.
Support Specialist
13 years 10 months ago #24617 by alzander
Jon,
Unfortunately, it isn't. The Comment and Like buttons have to have a fixed number. That's specified by Facebook as those widgets are loaded through their Javascript which doesn't accept percentages. We'd love it if that was possible and have investigated it before, but no love there.

Sorry for the not-so-great answer,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24667 by jonng
That's a shame. Not your fault though. Thanks for replying!
The topic has been locked.
Support Specialist
13 years 10 months ago #24677 by alzander
Jon,
No problem. We have no problem explaining the limitations.. sorry you ran into one!

Best of luck,
Alex
The topic has been locked.