• Welcome to PHPVIBE Forums. Please log in.
avatar_Marius P.

[ Video Sharing CMS v4 ] Make Facebook comments fully responsive

Started by Marius P.,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marius P.Topic starter

Drop this somewhere in your css (example: vibe.style.css)


/* Facebook hack */
.fb-comments , .fb-comments .fb_iframe_widget span,
.fb-comments fb_iframe_widget, .fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
width: 100% !important;
}



This hacks don't last long, but for now this one works fine.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.Topic starter

Update:

Old hack seems to not work, but this works:

change in lib/comments.php


data-width="530"




to

data-width="100%"



and add to a css file:
/* Facebook hack */
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
  min-width: 100% !important;
  width: 100% !important;
}
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)