The "fixed" background property often does not work on iPhone 5 or older iOS devices due to iOS limitations. This is a known behavior across mobile Safari browsers, not just in Webflow.
1. Why “Fixed” Backgrounds Don’t Work on iPhone 5
- iOS Safari on older devices like the iPhone 5 (iOS 10 and below) does not support background-attachment: fixed.
- This limitation is not specific to Webflow—it is an OS-level constraint.
- WebKit (used by Safari) disables “fixed” backgrounds to improve performance on mobile.
2. Webflow Alternatives for Fixed Backgrounds on iPhone
- Use a background image in a div with
position: fixed
instead of using background-attachment. - Create a parallax effect using Interactions:
- Use Webflow’s scroll-based animations to simulate background movement.
- Place the image in a fixed-position div and adjust opacity or transform to mimic "fixed" behavior.
3. Responsive Design Best Practice
- Avoid relying on background-attachment: fixed for mobile devices.
- Use media queries in Webflow to serve simplified backgrounds or alternate layout behavior for smaller screens.
- In Webflow Designer > Style Panel, consider setting
background-attachment: scroll
for mobile breakpoints to ensure compatibility.
Summary
The "fixed" background property does not work on iPhone 5 due to iOS Safari limitations. Use Webflow interactions or fixed-positioned elements as workarounds to create similar visual effects.