Support » Plugin: iframe » Centering iFrame

  • Resolved meghany

    (@meghany)


    Hello,

    I would like to center the content in my iframe (video is located at the bottom of the link provided), however the code I’m using is not working.

    Please note, I’ve tried several variations of this code with no success:

    [iframe align=”center” src=”https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FWeNeedThisbyattn%2Fvideos%2F214218579080015%2F&show_text=0&width=476″ height=”476″ width=”476″]

    Thank you,
    Meghan

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webvitalii

    (@webvitaly)

    Hi Meghan,
    Unfortunately I can’t find an iframe on the page you provided.

    Hello @webvitaly

    Thanks for your quick response.

    Sorry, this page may not have been posted yet when you checked before, but it is now.

    The iframe is located at the bottom of the post. It contains the video with the title “These shampoo bars could replace….”

    Plugin Author webvitalii

    (@webvitaly)

    Try to use this shortcode:

    [iframe src=”https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FWeNeedThisbyattn%2Fvideos%2F214218579080015%2F&show_text=0&width=476″ height=”476″ width=”476″ style=”margin-left:auto; margin-right:auto; display:block;”]

    It worked! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering iFrame’ is closed to new replies.