Hi,
I’ve set up demo site here and it works good on desktop. But on mobile device background image doesn’t look good.
I’ve tried this code:
@media only screen and (max-width: 1024px) {
.slides-container .slide-item, .panel-row-style {
background-attachment: fixed !important;
background-position: center !important;
}
}
but it works only on desktop (not on mobile).
I would like to have background on mobile similar as desktop version as much as possible.
Thanks in advance,
kimass
Hi kimass,
Please note that fixed backgrounds don’t work on mobile devices (they’re intentionally disabled by the browser and that’s sadly unavoidable). iOS has a display issue which can result in the image being extremely zoomed in. As such, you should only apply the fixed background on desktop devices.
Also, you can set a background as fixed by opening the row/widget and heading over to the row/widget styles sidebar. Open the Design settings group and set the Background Image Display setting to Fixed.