Hi,
on this page you see on top a headerimage. On mobile this headerimage is zoomed in and not the whole image visible.
How can I setup, that on all screen sizes the whole image is visible and the height of this element is dynamic?
Thanks for support.
Bye
Rene
Hey rezwiebel,
To add a scalable banner on all pages below the logo and menu. First, create a header widget area
Then use the CSS styles from the below link
Best regards,
Vinay
Hi Vinay,
thanks for your message. But when logged in I see only white fields under your description. When logged out, I see the follwoing, but without the described info.
—–
Hey rezwiebel,
To add a scalable banner on all pages below the logo and menu. First, create a header widget area
https://kriesi.at/documentation/enfold/header/# (Purchase code hidden if logged out)
Then use the CSS styles from the below link
https://kriesi.at/documentation/enfold/ (Purchase code hidden if logged out) -the-logo-and-menu/
Best regards,
Vinay
Hi,
You can’t make the whole image visible on smaller screens without distorting the image.
Use this css code to increase the height of the section on mobile view:
@media only screen and (max-width: 767px) {
#duennesheaderbild {
height: 200px;
}
}
You can also use that code to change the background source:
@media only screen and (max-width: 767px) {
#duennesheaderbild {
height: 200px;
background-image: url( IMAGE URL FOR MOBILE HERE ) !important;
}
}
Best regards,
Ismael