What is usually done is this:
<div class="fb-comments" data-href="http://example.com/comments" data-numposts="5"
data-colorscheme="light"></div>
I also added this div with the fp-container class and put the plugin div inside it, thus:
<div style="padding:0;" class="fb_container">
<div class="fb-comments" data-href="http://example.com/comments" data-numposts="5"
data-colorscheme="light"></div>
</div>
This is to make the plugin ignore the original formatting and small formatting of my CSS that sets the width to 100% of the parent div, which I put like this:
.fb-comments, .fb-comments * {
width:100% !important;
}
This works on desktop browsers, but in vertical mobile browsers it does not make any difference.
This tip is given by Facebook itself:
The width (in pixels) of the plugin. The mobile version of the Comments plugin ignores
the width parameter, and instead has a fluid width of 100%.
Does anyone have any tips on how to make this plugin stay responsive in vertical mobile browsers?