video background
General Discussion
2
Posts
2
Posters
1.2k
Views
2
Watching
-
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; }
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com