Home Forums UnTheme Bullet How to re-size and center embedded Youtube video?

Viewing 6 reply threads
  • Author
    Posts
    • #46502

      cmeurer
      Participant

      I’ve tried everything! This is what I have now but it still doesn’t work. The resize works, but it still shows left-aligned.

      <p style=”text-align:center;”>
      <div style=”max-width: 500px;”>
      <iframe src=”//www.youtube.com/embed/1HRa4X07jdE?rel=0″ width=”480″ height=”360″ frameborder=”0″ align=”center” allowfullscreen=”allowfullscreen”></iframe>
      </div>
      </p>

      Help please!

    • #46518

      Maria Do
      Keymaster

      I hope you are well today and thanks for asking the question.

      Please send the following information to get the support faster:

      – FTP’s information
      – Site’s URL
      – WordPress admin account
      – Purchase Code& Purchase Date(to ensure you have bought the theme and deserve the good support).

      I will check your site to find out the solution.

      Don’t forget to mark reply as private below if you share any sensitive data.

    • #46558

      cmeurer
      Participant
      This reply has been marked as private.
    • #46559

      cmeurer
      Participant
      This reply has been marked as private.
    • #46626

      Maria Do
      Keymaster

      Hi

      that is your HTML content in text block. You can’t use align=”center” for iframe.

      You can use margin for div tags. For example:

      http://prntscr.com/ntt2nh

    • #46646

      cmeurer
      Participant

      Thank you. I hope that fixes it for all instances.

      • This reply was modified 2 years, 12 months ago by cmeurer.
    • #46652

      Maria Do
      Keymaster

      Please feel free to contact us with any questions you might have, we’re always happy to help.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.