video background
-
Hi armin, i don't know if you remember you helped me out, putting a video as background on one of my website pages (this one http://www.nuno-maio.com/matou ) and you gave this code:
<video class="fixed-bg-video" preload="" muted="" autoplay="" loop="">
<source src="http://www.nuno-maio.com/wp-content/uploads/2016/10/Video_Matou_final.mp4" type="video/mp4">
</video>the thing is, now im doing the mobile version of the site and the video appears in all pages, what should i do?
thanks!
Hugs
-
You can only show the video on one page and hide it on the others.
http://laytheme.com/documentation.html#css-based-on-current-page
Something like that
.fixed-bg-video{ display: none; } body.slug-frontpage .fixed-bg-video{ display: block; }
Try this to fix issues before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it