Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1397591
iframe video size and allignment
Closed

Comments

  • ze_food started the conversation

    Hi,

    I am having trouble embedding the video. When I use normal youtube's embed code:

    <iframe width="1280" height="720" src="https://www.youtube.com/embed/HbQJoCr0AQk" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen=""></iframe>

    then the video takes full width of the page, however I would like to resize the video by lets say 50%. When I try to use the following code:

    <iframe style="width: 50%; height: 355px; overflow: auto; align: center" src="https://www.youtube.com/embed/HbQJoCr0AQk" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen=""></iframe>

    video gets resized by 50%, but 2 problems occur:

    1) Video is aligned on the left, and command: align: center - does not work;

    2) There is a huge gap under the video which is unacceptable.


    Please advise on how to fix these problems.
    Thanks

  •  2,700
    PenciDesign replied

    Hi,

    In the next update version of Soledad theme will release in next 1-2 week, we will add more a shortcode to help you can set any size for your videos, please wait for it

    Best Regards,

    PenciDesign