Archived topic
How can I go to the Page Header Background Video
3 replies · Started by Robert on October 11, 2019
Hi
how can I get to the options:
https://docs.generatepress.com/article/page-header-background-video/
?
I realy cant find the way :(
Kr
Robert
Hi there,
The page header module has been replaced by Header elements some times ago.
Here is the new method using header element:
https://docs.generatepress.com/article/page-hero-background-video/
More on the header element:
https://docs.generatepress.com/article/header-element-overview/
Let me know if this helps :)
Hi
it works :)
http://www.vicktina.com/kontakt/
One question more - I wanna put some TXT + buton on the video header.
I wrote this code ins GP: CSS:
.background-video {
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 1;
}
video[poster] {
object-fit: cover;
width: 100%;
height: 100%;
}
.background-video-content {
position: relative;
z-index: 2;
font-weight: 800;
text-shadow: 1px 5px 4px rgba(0, 0, 0, 0.5);
font-size: 40px;
}
And this ins Elements - Header:
<video loop muted autoplay poster="zzz.jpg" class="background-video">
ZADZWOŃ DO NAS
<source src="http://www.vicktina.com/wp-content/uploads/2019/10/Bez-tytułu.mp4" type="video/mp4">
</video>
but I can't see the TXT and the buton... :(
Looks like it's all working now?
I can see the text and button :)