Support » Fixing WordPress » How to align Facebook iframe in right-hand column?

  • Greetings WP community.

    I’ve got one small problem with a Facebook iframe code that I added to my right-hand column that’s making me crazy.

    You can view my page, here:

    Look in the far right-hand column and you’ll see the “find us on facebook” iframe. You see how it’s not aligned flush left with the column? Driving me nuts.

    Any way I can align this left or center so it looks a bit nicer in that column?

    Any help or advice is much appreciated!


Viewing 1 replies (of 1 total)
  • The source code of your page shows the following for the Facebook iframe:

    <li id="text-4" class="widget widget_text">            <div class="textwidget"><div align="center"><iframe src="" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:130px; height:287px;" allowTransparency="true"></iframe></div></div>

    Try adding something like:
    li#text-4 {margin-left: 0px;} to the theme’s css file.
    Or, padding-left: 0px; Or, margin-left: -20px; (or whatever). Can’t be more specific, it’s positioning could be affected by many other (inherited) factors.
    Or, if you wrote the actual (x)html, change the (before iframe) div align=”center” to “left”?

Viewing 1 replies (of 1 total)
  • The topic ‘How to align Facebook iframe in right-hand column?’ is closed to new replies.