I am struggling with customizing the jumbotron header on my webpage, which can be found at
The dimensions of the jumbotron are currently set to 40vmax:
.jumbotron {
background-image:url('images/<?php echo $article_cover ?>');
background:repeat:no-repeat;
background-size: 100%;
height: 35vmax;
background-position:center center;
color:#fff;
text-shadow:2px 2px 4px black;
}
Despite my efforts, I have not been successful in adjusting the position of the content within the jumbotron for both desktop and mobile views. The code snippet I have experimented with so far is as follows:
.jumbotron h1,
.jumbotron .h1 {
position:relative; top 30vmax;
}
I have tried various variations of the positioning property (fixed, absolute) as well as using margin-top but none seem to work effectively across different devices.
Additionally, I aim to create a unique background specifically for the text part similar to the example shown in this image