Facebook page plugin width not applying -
i have following code set on page used display facebook plugin:
<div class="fb-page" data-hide-cover="true" data-href="https://www.facebook.com/bikefinders" data-show-facepile="false" data-show-posts="true" data-width="280" style="float: left; margin: 10px;"> this worked fine until couple of days ago. reason stuck on width 180px seems - yet in code says 280px. know why is? check out here: www.bikefinder.no (plugin left side of pic).
thanks input!
as documentation on page plugin doc says under heading adaptive width:
- probably container
0 pxordisplay: none@ time of page load. - the plugin tries minimum width,
180pxin case - so, if ensure container has
wdith >= configured_width, should work.
code:
<div style="min-width: 180px"> <div class="fb-page" data-hide-cover="true" data-href="https://www.facebook.com/bikefinders" data-show-facepile="false" data-show-posts="true" data-width="180" style="float: left; margin: 10px;"> </div> // min-width ensure 180px or greater
Comments
Post a Comment