New Landing How can we help? Cardinal Youtube videos not responsive

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Cardinal
  • #142214
    mdearden
    Member
    Post count: 39

    Hello,

    The responsive element of YouTube videos does not seem to work in this theme (when a url is just pasted in a post). The videos will not span the width of the content 100% and they do not scale in a mobile device, they appeared chopped off, only showing a small amount of the play button.

    I have followed these steps to fix it in blog posts, which worked for the most part (http://www.wordpressdev.solutions/make-youtube-embeds-responsive-in-wordpress/), but this creates problems everywhere else where a video is embedded using an iframe (sidebars, swift builder elements etc)

    If you could help resolve this problem it would be greatly appreciated. I have tried almost every Plugin i could find to resolve the problem but to no luck.

    Thanks

    #142261
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    span.embed-youtube iframe{width:100% !important;}

    Thanks
    Mohammad

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.