• Welcome to WooUSEFUL by PHPVIBE . Please log in.
avatar_Marius

[ Video Sharing CMS v4 ] Make Facebook comments fully responsive

Started by Marius,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MariusTopic 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.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

MariusTopic 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;
}
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)