Support » Plugin: Jetpack by » Control Facebook Like Widget with CSS

  • Resolved Ronester


    Is it possible to control the Facebook Like Widget width with CSS?

    Looking at the source code…

    <iframe src="" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: 400px; height: 414px; background: #fff"></iframe>

    …I can see that the width is determined by inline CSS, which is not ideal, and worse, the iFrame doesn’t have any sort of class to hook into with CSS. The classes & ids (ex. id=”facebook-likebox-2″) that house the iFrame have no effect on width of course.

    I really would like to be able to control with iFrame’s width outside of the widget’s admin settings, which max out at a fixed, 400px and is also not very friendly when used in responsive designs. Being able to set width to a % via CSS would be awesome.


Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Control Facebook Like Widget with CSS’ is closed to new replies.