Trying to align Facebook Like Box

Community Forums Forums Design Tips and Tricks Trying to align Facebook Like Box

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Susan 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #61426

    Susan
    Moderator
    Post count: 9583

    http://www.lifeasamorticianswife.com/

    On this site, the Facebook like box is aligned to the left in the sidebar. How do I get it to align center? It’s an iframe image.

    Here’s the code which is in the text widget:
    [css]
    <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FHearsesAndPurses&width=292&height=558&show_faces=true&colorscheme=light&stream=true&border_color&header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:272px; height:538px;" allowTransparency="true"></iframe>

    [/css]
    Thanks!


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    http://www.lifeasamorticianswife.com/
    #61427

    AC
    Blocked
    Post count: 7712

    Add this to the bottom of your style sheet:

    #text-6 {
    text-align: center;
    }

    :)

    #61431

    Susan
    Moderator
    Post count: 9583

    Thank you – that did the trick :)


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Trying to align Facebook Like Box’ is closed to new replies.