Tagged: css code, responsive video
-
AuthorPosts
-
April 17, 2019 at 12:37 am #1091714
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!
April 17, 2019 at 5:38 am #1091768Hey mfabes,
Have your tried putting the code in header.php?
Best regards,
Jordan ShannonApril 17, 2019 at 1:06 pm #1091988Hi Jordan,
No, I have not tried that. Not 100% sure on how to go about doing that correctly.
April 17, 2019 at 8:02 pm #1092130Hi,
You go to appearance > editor > header.php and add the script before the closing head tag.
Best regards,
Jordan ShannonApril 18, 2019 at 2:02 pm #1092431Jordan,
Is this within the wordpress dashboard or the Enfold settings, because I’m not seeing that menu tree / structure anywhere.
Thanks
April 20, 2019 at 9:36 am #1092894Hi mfabes,
It’s inside WordPress Dashboard but not within Enfold settings.
I hope this screenshot will help: https://imgur.com/U8ZAIqj :)Best regards,
NikkoApril 20, 2019 at 2:33 pm #1092926Nikko,
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?
April 21, 2019 at 5:26 pm #1093062Hi,
Are you a full permission admin? Or are you running any feature blocking plugins?
Best regards,
Jordan ShannonApril 21, 2019 at 5:35 pm #1093070It 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.
April 21, 2019 at 6:05 pm #1093108Hi,
Did you clear the cache a few times over?
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.
