• I put youtube url in the post, and the result on preview its width goes beyond the post width.

    This happens even with the latest WP and Virtue theme.

    What’s wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you using the built in youtube shorcodes? Just click the youtube button and it will make the video responsive when you add it.

    Kadence Themes

    Thread Starter ekajuan

    (@ekajuan)

    Yap, using youtube shortcodes.

    I had to add this css to make it works.

    .embed-youtube{
    overflow:hidden !important;
    padding-bottom:56.25% !important;
    position:relative !important;
    height:0 !important;
    }
    .embed-youtube iframe {
    left:0 !important;
    top:0 !important;
    height:100% !important;
    width:100% !important;
    position:absolute !important;
    }

    If you used the theme shortcodes you wouldn’t have to add anything. do you have the virtue toolkit installed?

    And absolute positioning on a iframe seems like a bad idea? You say that css works? You have a link?

    Kadence Themes

    Thread Starter ekajuan

    (@ekajuan)

    I have virtue toolkit installed, but the problem already exist before the installation.

    An example link : https://feju-fashion.com/shop-till-you-drop-di-dongdaemun-pusatnya-fast-fashion-korea/

    on that page you are not using the virtue shortcode.

    Also just FYI you have two errors on your site, a 404 and 403, looks like they are coming from the recaptcha plugin.

    Kadence Themes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Video Youtube Width Goes Beyond Limit’ is closed to new replies.