Support » Plugin: YouTube Channel » Changing YouTube video Size

  • I have been trying to change the width and height for youtube videos, yet unsuccessfully. I’ve read previous entries before starting a new topic, and for what I’ve seen, the most common mistake was that people didn’t activate the responsive video option on. I’ve got it on – and already tried to use it set to off. What am I doing wrong? I perfectly changed its height, but setting the width to auto or simply 100% isn’t possible, as you can see on the image bellow.

Viewing 1 replies (of 1 total)
  • Plugin Author Aleksandar Urošević

    (@urkekg)

    Ho @miguelsolans,

    If you provide link to page where you attempt to achieve this, and dimensions you wish to achieve (width and height), I can help with simple CSS style.
    Mainly, following style should limit video width to 640px and center video in parent container:

    .ytc_video_container.ar16_9 {
        max-width: 640px;
        float: none;
        margin: 0 auto 20px auto;
    }

    This may or may not work on your website, depending on theme you use (so maybe stronger selector should be used instead just .ytc_video_container.ar16_9)

    Cheers,
    Aleksandar

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