- This topic has 5 replies, 2 voices, and was last updated 7 years, 1 month ago by Mahesh.
-
AuthorPosts
-
March 6, 2017 at 8:31 pm #111401Lucinda RomeijnParticipant
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)
March 7, 2017 at 9:58 am #111422MaheshKeymaster@lucinda-romeijn: The video size seems to be displaying fine. Have you resolved the issue? Let me know further.
Regards,
MaheshMarch 7, 2017 at 3:51 pm #111440Lucinda RomeijnParticipantHi!
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?March 8, 2017 at 4:44 pm #111523MaheshKeymaster@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,
MaheshMarch 11, 2017 at 6:27 pm #111778Lucinda RomeijnParticipantHi 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?March 13, 2017 at 1:36 pm #111853MaheshKeymaster@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 -
AuthorPosts
- The topic ‘Reducing videosize full width template not possible; FitVids.js. is interfering?’ is closed to new replies.