YouTube Embed Too Big

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2788
    rcthornt
    Member

    Hello, I am trying to embed a YouTube video on the homepage of my site. The problem is that it’s stretching to 100% width, despite it being an iFrame video that has a previously-established width and height. I think the problem is that the theme is automatically adding the CSS class “fluid-width-video-wrapper”, though I may be wrong.

    Also, I tried using the theme’s shortcode to embed a video. The same problem still happened.

    Can you please advise on how to embed videos properly?

    Thanks.

    #2816
    livemesh
    Keymaster

    The ‘fluid-width-wrapper’ is required to make the video responsive. Without it, the layout will break and video will stay at it’s original embed size even on the phones. To constrain the width of the video, pls use column shortcodes as detailed here –

    https://www.livemeshthemes.com/appdev/column-shortcodes/

    This will help make the video full width in smaller size tablets, phablets and smartphones while constraining its size in desktop and bigger sized tablets like iPad.

    The source code for the column shortcodes page is part of sample data uploaded.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Appdev Theme Support’ is closed to new topics and replies.