How can I fix the issue of a container disappearing from my Webflow website only on iPhones in Safari and Google Chrome?

TL;DR
  • Ensure the container is visible on mobile by checking display, visibility, and device-specific settings in Webflow.  
  • Inspect overflow and positioning to prevent content from being hidden or cut off by parent elements.  
  • Disable custom code, animations, and third-party assets to isolate rendering bugs, and test directly on iOS devices using Safari's Web Inspector.

If a container is disappearing only on iPhones in Safari and Chrome, the issue likely stems from mobile-specific styles, positioning issues, or rendering bugs in iOS WebKit.

1. Inspect Display and Visibility Settings

  • Select the container in Webflow and check its DisplayVisibility, and Overflow settings in the Style panel.
  • Make sure Display is not set to None for smaller breakpoints.
  • Inspect for conditional visibility toggles like Hide/Show on Devices under the Settings panel (gear icon). If it's hidden on mobile, it won’t appear on iPhones.

2. Check for Custom Code or Embed Elements

  • Custom code can interact differently across browsers; iOS Safari and Chrome both use WebKit.
  • Review any custom scripts or embeds. Disable them temporarily to test whether the container renders without them.

3. Look at Overflow and Position Settings

  • parent element with overflow: hidden might be cutting off the container if it uses position: absolute or fixed.
  • Test setting the container and its parent sections to overflow: visible to see if it appears.

4. Test with Webflow’s Preview and on iOS Devices

  • Webflow's Preview is not fully accurate for iOS rendering; confirm with real devices or Webflow's built-in iPhone breakpoint views.
  • Use Web Inspector (Safari on macOS allows remote inspection of iPhones) to see CSS computed styles and DOM behavior on the device.

5. Remove Any iOS-Specific Interactions or Animations

  • Webflow interactions may behave differently on mobile. Make sure there's no Page Load animation that hides the container and fails to show it again.
  • Test by disabling all interactions temporarily.

6. Check Z-Index and Layer Stacking

  • Element might be present but covered by another element with a higher z-index.
  • In the Navigator, see if there are overlapping layers. Increase the target container’s z-index to test.

7. Minimize Third-Party Influence

  • Third-party CSS files or fonts can cause rendering bugs or layout shifts.
  • Temporarily remove or disable third-party elements to isolate the issue.

Summary

To fix a disappearing container on iPhones in Safari and Chrome, verify mobile visibility settings, review overflow and positioning styles, and check for conflicts caused by animations or embeds. Always cross-check with a real iOS device for accurate testing.

Rate this answer

Other Webflow Questions