Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Content under iPhone notch or safe area: how to find and fix it

PRF-183Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Modern iPhones have areas of the screen that hardware covers or curves away: the notch or Dynamic Island at the top, rounded corners, and the home indicator bar at the bottom. Apple calls the usable region the safe area.

Normally Safari keeps your page inside the safe area for you. The problem appears when you opt in to full-screen layout with viewport-fit=cover, or when the page runs in landscape, as a home-screen web app, or in an in-app browser. Then fixed headers, sticky bottom bars, full-width banners and side-edge content can land under the hardware.

Why it costs you leads or sales

The impact is usually low, but it hits the most important spots. A sticky "Buy now" or "Call" bar at the bottom can sit under the home indicator, so taps trigger a system swipe instead of your button. In landscape, form fields and labels can be cut off by the notch side. A top banner or logo can be partly hidden.

Visitors rarely report this. They just miss the button, give up or leave. Because it only shows on certain iPhones and orientations, it often goes unnoticed in desktop testing.

How a covered button loses a sale
  1. Product pageLoads fine
  2. Sticky buy barDrawn under home indicator
  3. Tap on buttonTriggers system gesture or misses
  4. CheckoutNever reached

A sticky checkout bar sits under the home indicator on an iPhone.

How to check if your site has it

Check for safe-area problems
  1. Look at your viewport tag

    View the page source and find <meta name="viewport">. If it contains viewport-fit=cover, you must handle safe areas yourself.

  2. Find fixed and sticky elements

    Search your CSS for position: fixed and position: sticky, especially bars with bottom: 0, top: 0, left: 0 or right: 0.

  3. Test in a simulator

    In Xcode's iOS Simulator, or Safari's Responsive Design Mode, load the page on an iPhone with a notch or Dynamic Island. Browser dev tools on desktop do not always draw the safe areas, so a real device or simulator is more reliable.

  4. Rotate to landscape

    Turn the phone sideways and check that nothing touches the notch side, the rounded corners or the bottom bar.

  5. Test in-app browsers

    Open your link from Instagram, Facebook or email and check the same pages, because these browsers draw their own bars.

How to fix it

The fix has two parts. Keep viewport-fit=cover only if you want edge-to-edge backgrounds, then add padding equal to the safe-area insets wherever content touches an edge. If you do not need edge-to-edge, remove viewport-fit=cover and Safari handles the safe area for you.

Viewport taghtml
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
Pad fixed bars with safe-area insetscss
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  /* fallback first, then the safe-area value */
  padding-bottom: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.site-header {
  padding-top: env(safe-area-inset-top);
}
Where to apply it
  1. Find the viewport tag

    Check your theme's header.php or the theme options. Remove viewport-fit=cover if you do not need it. Do not edit a parent theme directly; use a child theme.

  2. Add the CSS

    Go to Appearance > Customize > Additional CSS and paste the safe-area rules for your sticky bar or header class.

Sticky bar on a notched iPhone

Before

  • Bar sits flush with the screen bottom
  • Button overlaps the home indicator
  • In landscape, text touches the notch side

After

  • Bar padded by the bottom inset
  • Button clear of the home indicator
  • Side padding keeps text away from the notch

How to confirm it's fixed

Confirmation checks
  • Open the page on a notched iPhone or simulator in portrait
  • Rotate to landscape and check both sides
  • Tap the sticky button near the bottom and confirm it responds
  • Check the top header is not under the notch or Dynamic Island
  • Test on an older phone without a notch to confirm nothing looks too padded
  • Open the page from an in-app browser such as Instagram

How to prevent it happening again

Add safe-area padding to your shared components, not to one page at a time, so new pages inherit it. Include a notched iPhone (or simulator) in portrait and landscape in your release checklist. When you install a new theme, popup or chat tool, check whether it adds viewport-fit=cover or its own fixed bars.

How FunnelGuard handles this

FunnelGuard does not check for content under the iPhone notch or safe area today. It is a possible future check. Layout drawn under device hardware depends on the physical screen shape, which is hard to judge from a robot visit.

What FunnelGuard does do is run your real journeys on a schedule, such as lead forms, checkouts and booking or chat buttons, and check each step, the tracking hits and whether test leads arrive. If a sticky bar breaks a journey outright, that kind of failure can show up as a failed step. A button that is only awkward to tap on one iPhone model will not.

To watch for this yourself, keep a notched iPhone or the Xcode simulator in your release routine, and review your fixed elements each time your theme or plugins change. A free FunnelGuard plan (1 site, 2 journeys, daily checks, no card) can still cover the wider journey while you do the device checks.

Questions people ask

Why is my website content hidden under the iPhone notch?

Usually because the page uses viewport-fit=cover, which lets content fill the whole screen, but the CSS does not add padding for the safe area. Fixed bars and edge-aligned content then slide under the notch, Dynamic Island or home indicator.

What is viewport-fit=cover?

It is a value in the viewport meta tag that tells iOS Safari to draw the page across the full screen, including areas behind the notch and home bar. It enables edge-to-edge design but means you must handle safe areas in CSS yourself.

How do I add padding for the iPhone safe area?

Use the CSS env() function, for example padding-bottom: calc(12px + env(safe-area-inset-bottom));. The insets are safe-area-inset-top, -right, -bottom and -left. Add a plain fallback line before it for older browsers.

Why is my sticky button covered by the iPhone home bar?

A fixed element with bottom: 0 sits at the very bottom of the screen, where the home indicator is drawn. Add bottom padding using env(safe-area-inset-bottom) so the button moves above it.

Do I need viewport-fit=cover?

No. If you do not need backgrounds to reach the screen edges, leave it out and Safari keeps your content inside the safe area automatically. Only use it for deliberate edge-to-edge designs.

How do I test the iPhone safe area without an iPhone?

Use the iOS Simulator in Xcode, which draws the notch and home indicator accurately. Safari's Responsive Design Mode helps with sizes but may not show the insets. A real device is still the most reliable check.

Does FunnelGuard detect content under the iPhone notch?

No. FunnelGuard does not check for this yet, and it is only a possible future check. It does run your real journeys on a schedule and checks steps, tracking and test leads, so a fully broken journey can be caught, but not a notch overlap.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.