Home>Support>Change youtube embed size in Vantage
  1. 10 years, 24 days ago Andrew Misplon
    Hi, I Work Here

    Hi Stefano

    Thanks for the wait.

    FitVids (http://fitvidsjs.com/) which Vantage uses pushes the video to 100%, mostly to handle different device resolutions. So one option would be to run a child theme that de-registers FitVids from the theme.

    Another option that you could use right now would be to use Page Builder for that specific post. If you add a video to a column it will adhere to the column’s width.

    Let me know if you’d like to de-register FitVids and I’ll help out with that child theme.

  2. 10 years, 23 days ago Stefano Capasso

    hello.yes i know about the page builder option, but it is not Always possible. i mostly have feeds and they are created automatically. so fitvids may be better option. how does it works?i have already a child theme
    thanks

  3. 10 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the info. To de-register FitVids you need to add the following to a functions.php file in your child theme:

    function remove_scripts() {
    	wp_deregister_script('fitvids' );
    }
    add_action( 'wp_enqueue_scripts', 'remove_scripts', 100 );
    

    If you don’t yet have a functions.php and are creating a new one in the child theme, don’t forget to add an opening php tag:

    <?php
    
  4. 10 years, 23 days ago Stefano Capasso

    great! thanks a lot

  5. 10 years, 23 days ago Andrew Misplon
    Hi, I Work Here

    For sure!

  6. 10 years, 20 days ago Stefano Capasso

    hi
    i discover a side effect of removing the fitvids
    now the meta slider does not fit all the screen. i have to force it to be displayed all allong the screen, but this way gets bigger in height, which i don’t like
    solutions?

  7. 10 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    Try changing your slider from Vantage Flex to Default, go to Advanced Settings, change set width to 100% and crop to Standard or Smart. Should do the trick.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More