Shopify has introduced a new CSS custom property, `--shopify-safe-area-inset-bottom`, for embedded apps running on Shopify Mobile. Automatically set by App Bridge, it provides the pixel height of host UI overlays like the floating bottom navigation bar. Most apps require no changes since bottom padding is applied automatically, but apps with custom fixed-bottom elements (sticky footers, FABs) should use `var(--shopify-safe-area-inset-bottom, 0px)` in their CSS to avoid content being obscured. The change takes effect April 15th, 2026.

2m read timeFrom shopify.dev
Post cover image
Table of contents
New CSS Variable for Mobile Safe Area InsetsWho's AffectedWhen the Changes Take EffectWhat You Should DoReferences
2 Comments

Sort: