How to auto adjust Facebook comment module width?
Free Joomla social activities module which can display data from Twitter, Facebook and Google+ in various layouts.
Rate this topic:
- GK User
- Sat Nov 01, 2014 1:11 pm
Hi there,
We are using the social GK5 module on our site for Facebook comments.
Instead of a defined width for the comment box, we would prefer an automatically adjusted size to fit any device used by the visitors.
How to configure the module to achieve this?
We are using the social GK5 module on our site for Facebook comments.
Instead of a defined width for the comment box, we would prefer an automatically adjusted size to fit any device used by the visitors.
How to configure the module to achieve this?
-
- Expert Boarder
- GK User
- Mon Nov 03, 2014 7:17 am
Could you please post an url to your site - to a sample page where the change should be made?
-
- Moderator
- GK User
- Mon Nov 10, 2014 10:10 pm
Hi Cyberek,
Please refer to this link and scroll to the bottom of the page to see the module in action on our site.
Many of our visitors use mobile devices so it will be great to set the width on auto.
Please refer to this link and scroll to the bottom of the page to see the module in action on our site.
Many of our visitors use mobile devices so it will be great to set the width on auto.
-
- Expert Boarder
- GK User
- Wed Nov 12, 2014 6:59 pm
I'm afraid it cannot be done with only css. Facebook Comments during initialise uses data-width to set width of elements inside Facebook Comments box. I've tried some solutions provided here and there but no of them works with this version of FB Comments.
-
- Moderator
- GK User
- Wed Nov 12, 2014 10:42 pm
Thanks Cyberek for trying.
An auto width would have been ideal but never mind.
An auto width would have been ideal but never mind.
-
- Expert Boarder
5 posts
• Page 1 of 1