This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

7
  1. Andrew Misplon Staff 11 years, 5 months ago

    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. Stefano Capasso 11 years, 5 months ago

    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. Andrew Misplon Staff 11 years, 5 months ago

    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. Stefano Capasso 11 years, 5 months ago

    great! thanks a lot

  5. Andrew Misplon Staff 11 years, 5 months ago

    For sure!

  6. Stefano Capasso 11 years, 5 months ago

    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. Andrew Misplon Staff 11 years, 5 months ago

    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.

Have a different question or issue?

Start New Thread