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 px or display: none @ time of page load.
  • the plugin tries minimum width, 180px in 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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -