Home>Support>Wrap Text around a YouTube video

Wrap Text around a YouTube video

Dear All

I am using the Origami Theme. I can embed a YouTube video easy enough using either the code or . What I am failing to do so far is work out how to wrap text around it?

1 – I have tried class=”alignright” inside the iframe.

2- I have tried an entire css div around the iframe

3- and I have tried

and put the “”video-wrap”” in the css file

#video-wrap { float: left; margin: 0 20px 5px 0; }

I have tried it with page builder and I have tried it in the old WP Page editor..everything is not working. It will work in Page Builder when you view it in the visual tab, but save the page and view it, and it goes….

and right now my brain is fried and I need help. Please.

Thank you

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 8 months ago Alex S
    Hi, I Work Here

    Hi Richard,

    Origami by default has FitVids.js enabled (it allows for the video to be responsive) and that’s what’s preventing what you’re trying to do from working. To disable FitVids please navigate to WP AdminAppearanceCustomize, Theme SettingsResponsive and untick Use FitVids.

  2. 7 years, 8 months ago RichardStone

    Thank you Alex, I will do that.

    I did find a work around

    In customise, additional CSS I added this

    .video-frame .fluid-width-video-wrapper{
    max-width: 500px;
    padding-top: 31% !important;
    float: left;
    margin-right: 18px; width: 400px;
    }

    On on the page in the attributes option I added
    video-frame

    Kind regards

    Richard

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More