Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Layout broken in landscape orientation: how to find and fix it

PRF-175Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

In portrait, a phone gives you a tall, narrow screen. In landscape it is wide but very short, often only 320 to 430 px of usable height once the browser bars are counted. Layouts built and tested only in portrait or on desktop often fail in that short space.

Common causes: a sticky header or bottom bar that now fills a third of the screen, a hero set to height: 100vh that pushes the form out of view or clips it, a modal taller than the screen with no scrolling, overflow: hidden on the body, and notches that overlap content.

Why it costs you leads or sales

People turn their phone sideways to watch a video, fill in a long form or because they are holding it that way. If the submit button, the checkout button or the close button of a popup is hidden or cannot be scrolled to, they leave. The impact is usually low because most visits stay in portrait, but it can be total for the people who do rotate.

How a landscape bug loses a lead
  1. Open landing pageLooks fine in portrait
  2. Rotate phoneViewport height drops to about 360 px
  3. Form is cut offSticky bar and 100vh hero hide the submit button
  4. SubmitCannot be reached
  5. LeadNever recorded

The visitor rotates the phone and the form's submit button ends up unreachable.

How to check if your site has it

Test landscape in your browser and on a real phone
  1. Open device mode

    In Chrome, press F12, then the device toolbar icon (Ctrl+Shift+M or Cmd+Shift+M). Pick a phone, then click the rotate icon.

  2. Try several short sizes

    Test about 667x375, 740x360 and 844x390. Also test a small one such as 568x320.

  3. Walk your key journeys

    Scroll the page, fill in the form, open the menu, open any popup and reach the submit or checkout button.

  4. Look for blockers

    Check whether fixed headers, footers, chat bubbles or cookie banners cover content, whether any section is clipped, and whether the page scrolls at all.

  5. Confirm on a real device

    Emulators miss browser toolbars and notches. Rotate a real iPhone and an Android phone and repeat.

How to fix it

The fix is the same idea everywhere: stop forcing heights, let content scroll, and shrink fixed elements when the screen is short. Start with the CSS below, then use your platform's settings.

Landscape-safe CSScss
/* Use min-height, not a fixed height, so content can grow */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* small viewport height, accounts for browser bars */
}

/* Shrink or unstick fixed bars on short screens */
@media (orientation: landscape) and (max-height: 500px) {
  .site-header,
  .bottom-bar {
    position: static; /* or reduce padding and height */
  }
  .hero {
    min-height: auto;
    padding-block: 24px;
  }
}

/* Keep modals scrollable */
.modal {
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
}

/* Avoid notches in landscape */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
Where to apply it on your platform
  1. Add the CSS

    Go to Appearance > Customize > Additional CSS (or the Site Editor's Styles > Additional CSS in block themes) and paste the landscape rules, adjusting the class names to your theme.

  2. Check theme and builder options

    In Elementor, Divi or similar builders, replace 100vh section heights with min-height and review sticky header settings per device. Test landscape after each change.

Landscape layout before and after

Broken

  • Sticky header and bottom bar fill a third of the screen
  • Hero fixed to 100vh clips the form
  • Popup taller than the screen with no scroll
  • Content hidden under the notch

Fixed

  • Bars shrink or scroll away on short screens
  • Hero uses min-height and the form is visible by scrolling
  • Popup scrolls and the close button is reachable
  • Safe-area padding keeps content clear of the notch

How to confirm it's fixed

Landscape sign-off
  • Page scrolls from top to bottom at 667x375 and 568x320
  • Form fields and the submit button can be reached
  • Checkout and booking buttons are not covered by bars, chat bubbles or banners
  • Menu opens, closes and scrolls if long
  • Popups and cookie banners can be closed
  • Nothing is hidden behind the notch on a real iPhone
  • Rotating back to portrait restores the normal layout

How to prevent it happening again

Add landscape to your design review. Every new section, popup or sticky element should be checked at about 667x375 before launch. Prefer min-height over height, give modals a maximum height with scrolling, and keep fixed elements small. After theme updates or page-builder changes, run a quick rotate test on your main landing page and checkout.

How FunnelGuard handles this

FunnelGuard does not check for landscape layout problems yet. It is a possible future check. Today, FunnelGuard runs your real customer journeys on a schedule with a robot visitor, checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a landscape bug stopped the robot from completing a journey, you might see a failure, but that is not a dedicated landscape check and should not be relied on for this.

To watch for it yourself, add a landscape test to your release checklist, test on a couple of real phones after design changes, and use your browser's device mode as described above. The free FunnelGuard plan covers 1 site and 2 journeys with daily checks, no card needed, which helps you catch broken forms and tracking while you handle layout testing manually.

Questions people ask

Why does my website look broken when I rotate my phone?

In landscape the screen is much shorter, so fixed headers, full-height sections and tall popups take up too much space. Content can be clipped or covered, and buttons may be unreachable. Test at about 667x375 px and fix heights and fixed elements.

How do I test my website in landscape mode?

In Chrome, open DevTools with F12, turn on the device toolbar, choose a phone and click the rotate icon. Then test on a real phone too, because emulators do not show real browser bars, keyboards or notches.

Why is my form cut off in landscape on mobile?

Usually a container has a fixed height or 100vh with overflow hidden, or a sticky bar covers the bottom of the screen. Use min-height instead, let the page scroll and shrink fixed bars with an orientation and max-height media query.

What is the 100vh problem on mobile?

On phones, 100vh can be taller than the visible area because browser toolbars take space. In landscape that mistake is bigger. Use min-height with svh or dvh units so sections fit the real visible screen.

How do I stop a sticky header covering content in landscape?

Use a media query such as @media (orientation: landscape) and (max-height: 500px) to make the header position: static or reduce its height and padding. Check anchor links too, and use scroll-margin-top so targets are not hidden.

Do I need to fix landscape if most visitors use portrait?

The impact is usually low, so fix it after bigger issues. But it is often a quick CSS change, and for people on landscape, especially tablets and phones used with keyboards or stands, a blocked form means a lost lead.

Does FunnelGuard check landscape layouts?

No. FunnelGuard does not check landscape orientation yet; it is a possible future check. It does run your real journeys, check tracking hits and confirm test leads arrive, so use manual landscape testing alongside it.

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.