On a development site, I have an image in Color Section > Section Background > Custom Background Image.
The image is intended to look as if it were a slider image, but it is not a slider.
On DESKTOP, it fills the screen as intended. See https://www.screencast.com/t/mKZETls1
On MOBILE (iPhone 6s for example), it is not responsive and shows only the centermost part of the image. See https://www.screencast.com/t/6EGirKoRoW
Any suggestions?
Thank you!
Hey Arrastia,
Please try the following css:
@media only screen and (min-width: 480px) and (max-width: 767px) {
#av_section_1 {
background-size: contain !important;
}
#av_section_1 .hr.hr-invisible.avia-builder-el-2 {
height: auto !important;
min-height: 350px;
}
}
@media only screen and (max-width: 479px) {
#av_section_1 {
background-size: contain !important;
}
#av_section_1 .hr.hr-invisible.avia-builder-el-2 {
height: auto !important;
}
}
Best regards,
Victoria
That did it! Thank you.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon