Z Index Issue on Shopify Website Displaying Differently on iOS and Android

Topic summary

A Shopify store owner is encountering a z-index and element layering problem that only affects iOS devices (Safari and Chrome on iPhones and iPads). The site displays correctly on Android, Windows, and Mac desktop browsers.

Key Details:

  • Custom theme built on Shopify 2.0 structure
  • Elements are overlapping or appearing behind sections on iOS
  • Suspected cause: z-index stacking context or fixed element rendering behavior specific to iOS Safari

Status: The issue remains unresolved with no responses yet. The user is seeking advice on:

  • How to identify z-index conflicts that behave differently across platforms
  • Debugging techniques for stacking contexts
  • Best practices for mobile Safari rendering
Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi Shopify Community,

I am experiencing a strange z-index and layering issue on my Shopify website ElyonDubai.com. The website displays perfectly on Android devices, but the layout appears completely different on iOS (Safari and Chrome).

From what I can see, several elements are overlapping or appearing behind sections when viewed on iPhones. It looks like a z-index stacking context issue, but I cannot identify which element or CSS property is causing it.

Here are a few details:

  • Theme: Custom theme based on a Shopify 2.0 structure

  • Issue type: Visual layout / layering inconsistency

  • Affected devices: iPhones and iPads (iOS browsers)

  • Working fine on: Android devices, Windows, and Mac desktop browsers

  • Possible cause: z-index stacking or fixed element rendering behavior specific to iOS

Could someone please advise how to identify or fix z-index conflicts that behave differently on iOS Safari?
Any tips on debugging stacking contexts or best practices for mobile Safari rendering would be greatly appreciated.

Thank you in advance for your help!

1 Like

Hey @elyondubai,

By any chance can you share the ScreenShot with point out the issue that you facing with the z-index.

Furthermore if this is not a specific issue then you can share the collab code so that I can fix them all.

Waiting to hear back from you.

Thanks

Hi @elyondubai

Can you please send me a screenshot showing which sections are having the z-index issue, so I can check and give you a proper update?

Best regards,
Devcoder :laptop: