Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111401
    Lucinda Romeijn
    Participant

    Hi Mahesh,

    Another problem I cannot resolve: I resized the video on the homepage to a smaller size. But whatever I tried it did not respond, it still acquired the entire width of the page and it looks awfully big.

    It is being controlled by FitVids.js, right? How can I disable that or add CSS to be able to set my own video sizes?

    My theme is Catch Evolution!

    Thanks very much for helping me out!

    The URL is: https://www.lucindalightning.com (this is the homepage URL)

    #111422
    Mahesh
    Participant

    @lucinda-romeijn: The video size seems to be displaying fine. Have you resolved the issue? Let me know further.

    Regards,
    Mahesh

    #111440
    Lucinda Romeijn
    Participant

    Hi!

    Sorry, did not make myself clear. I forgot to add where the problem was. It has nothing to do with mobile (that looks okay) but how the video shows on the homepage on desktop. .

    http://www.lucindalightning.com

    Is it possible to disable the Fitvids.js or reduce the video any other way without FitVids.js interfering?
    Thanks for your help?

    #111523
    Mahesh
    Participant

    @lucinda-romeijn: You can dequeue fitvid by creating child theme and add the following code in your child theme’s functions.php

    function catchevolution_child_dequeue_scripts(){
    	wp_dequeue_script( 'jquery-fitvids' );
    }
    add_action( 'wp_print_scripts', 'catchevolution_child_dequeue_scripts' );

    You can find more detials on creating child theme HERE.

    Regards,
    Mahesh

    #111778
    Lucinda Romeijn
    Participant

    Hi Mahesh,

    Thanks for your answer. I read the info about creating a child theme, but for someone who’s just starting building websites it’s still quite complicated. Sorry. To start with I don’t know where to find the exact name of the Catch Evolution theme I’m using, where to create a new folder, the name of the parent/original theme folder, and so on.
    Would it not be possible to add css code in the parent theme to dequeue the VitFids.js or would that mess up the whole site?

    #111853
    Mahesh
    Participant

    @lucinda-romeijn: JS can’t be dequeued by adding CSS code, you’ll need to dequeue it using the child theme. You can find the and download the ready child theme from the link too and add it to your site. If you are not familiar with coding, I recommend you to hire a customizer.

    Regards,
    Mahesh

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Reducing videosize full width template not possible; FitVids.js. is interfering?’ is closed to new replies.