Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A page has fb comments inserted. The page structure in firebug looks like this:
<div class="fb-comments fb_iframe_widget" data-numposts="10" data-width="550" data-colorscheme="light" data-migrated="0" ....
How to change the data-width and make it dependent on screen width, or in other words, responsive to HTML5 media queries?
Comments
Comment #1
Liliplanet CreditAttribution: Liliplanet commentedadd this to you default theme css
and just keep your 'width' at /admin/structure/fbsocial/presets empty
Comment #2
Liliplanet CreditAttribution: Liliplanet commented