Site logo

Archived topic

How can I go to the Page Header Background Video

3 replies · Started by Robert on October 11, 2019

Viewing posts 1–4 of 4

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">

<h1>SKORO TU JETEŚ, TO ZNACZY, ŻE MARZYSZ O AFRYCE...</h1>
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 :)

This archived topic is closed to new replies.