Hello @Eyasulana,
I suspect this could be a bug. I have already reported the issue, and it has been logged in our issue tracker for the development team’s further investigation. At this time, there is no estimated timeframe for a fix. I kindly ask you to stay tuned for upcoming updates, where this may be addressed.
I have added a DIV element in Section 9 for you, which contains a Raw Content element where I placed the custom HTML to achieve the text-over-video effect on your server. The entire section is currently set to hidden, but you can unhide it anytime to review or adjust the settings.
To change the text or the video, simply edit the Raw Content element within that DIV—this is where the current text and video are set.
<div class="video-background-container">
<video autoplay muted loop playsinline>
<source src="https://your_domain_name/wp-content/uploads/2023/09/Blue-Ethos-Trailer-New.mp4" type="video/mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
<div class="color-overlay"></div>
<div class="overlay-text">
Your text goes here
</div>
</div>
/* Container fills viewport width and height */
$el .video-background-container {
position: relative;
width: 100vw;
height: 100vh; /* full viewport height, adjust as needed */
overflow: hidden;
}
/* Video fills the container, covers area, centered */
$el .video-background-container video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100vw;
min-height: 100vh;
transform: translate(-50%, -50%);
object-fit: cover;
z-index: 1;
}
/* Full size overlay with semi-transparent color */
$el .color-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(172, 47, 47, 0.5); /* black overlay with 50% opacity */
z-index: 2;
}
/* Centered text with higher z-index */
$el .overlay-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 3rem;
font-weight: bold;
text-align: center;
z-index: 3;
padding: 0 1rem; /* optional padding on smaller screens */
text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
/* Optional: Responsive font size */
@media (max-width: 600px) {
$el .overlay-text {
font-size: 1.8rem;
}
}
Thank you for your patience and understanding