html - Facebook Page Plugin width doesn't apply -


i'm trying implement facebook page plugin. set width 500, stays @ 280px.

<div id="facebook-feed" style="text-align: center">             <div class="fb-page zdepth-1" data-width="400" data-href="https://www.facebook.com/facebook" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"></div> </div> 

enter image description here

what doing wrong?

the page plugin tries fit in smaller containers/screens

  • the plugin renders @ smaller width (to fit in smaller screens) automatically, if container of slimmer configured width.

  • it tries render nicely on smaller screens assuming container squeezes mobile.

so probably, in case container holding plugin smaller configured width i.e. 500px.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -