Make the Elementor background-attachement:fixed setting work, even for Mobile devices such as iPhones.
Here is what we are creating an example sites.
Setup your background image
Add this Custom CSS
/* Background image fixed on mobile */
@supports (-webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0) ) or (clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0) ) {
.has-bg-fixed{
-webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}
.has-bg-fixed::before,
.has-bg-fixed .elementor-background-overlay{
position: fixed !important;
top:0;
left:0;
height:100vh;
pointer-events:none;
}
}