Support » Plugin: Recipe Card Blocks by WPZOOM » Youtube Video aspect ratio

  • Resolved sigenehoho

    (@sigenehoho)


    Hello,

    I really like your plugin. But I have an issue with my video. As you can see the recipe video block is displayed as a square so the thumbnail of my video is really bad. Is there a way to correct this ?

    Thank you.
    Regards,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPZOOM

    (@wpzoom)

    Hi,

    This problem is probably caused by your theme or a different plugin installed on your website.

    We can’t say for sure, as your CSS is minified, so it’s hard to debug and see where from each style is coming.

    I tested your video in our block in a different theme (Foodica), and it looks fine: https://d.pr/i/ribvtc

    Thanks for the quick feedback. I disabled the CSS minify. Would you mind having a look ? Or do you have an idea where I should look ?

    Thank you.

    Regards,

    OceanWP gave me the solution. Thanks again for your help !

    Here is the css to customize :

    iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }
    .recipe-card-video.no-print {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.