Tagged: css code, responsive video
I am using a video player called Vidyz on some pages. I am told to put the following CSS code on my site to make the videos responsive:
<link rel="stylesheet" type="text/css" href="https://vidyz.com/VideoPlayer/videostyle.css">
I have tried doing this in both a code block on the page as well in Quick CSS section of Enfold theme. It does not work. Below is the page a couple of the videos are on. Can you please tell me why the code doesn’t work in Enfold?
Thanks!
Hey mfabes,
Have your tried putting the code in header.php?
Best regards,
Jordan Shannon
Hi Jordan,
No, I have not tried that. Not 100% sure on how to go about doing that correctly.
Hi,
You go to appearance > editor > header.php and add the script before the closing head tag.
Best regards,
Jordan Shannon
Jordan,
Is this within the wordpress dashboard or the Enfold settings, because I’m not seeing that menu tree / structure anywhere.
Thanks
Hi mfabes,
It’s inside WordPress Dashboard but not within Enfold settings.
I hope this screenshot will help: https://imgur.com/U8ZAIqj :)
Best regards,
Nikko
Nikko,
Thanks for the reply. The “editor” option does not appear on my dropdown listfor Appearance. There are only the first 4 options: Themes, Cuustomize, Widgets & Menus. Why would that be?
Hi,
Are you a full permission admin? Or are you running any feature blocking plugins?
Best regards,
Jordan Shannon
It was a security plugin that was preventing that from showing up. I disabled that and was able to edit the header.php file, but the code still did not work.
Hi,
Did you clear the cache a few times over?
Best regards,
Jordan Shannon