---
title: "How to optimize popup and flyout forms for mobile"
description: "Learn how to design your mobile sign-up forms with Klaviyo's best practices in mind so you can ensure your popup and flyout forms are optimized for mobile visitors."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/4406161800987"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/4406161800987.md"
locale: "en-us"
category: "Sign-up forms"
section: "Form best practices"
updated: "2026-10-30"
---

# How to optimize popup and flyout forms for mobile

## You will learn

Learn how to design your mobile sign-up forms with Klaviyo's best practices in mind so you can ensure your popup and flyout forms are optimized for mobile visitors. 

Online shoppers are increasingly using their mobile devices to discover new stores, browse products, and make purchases, so it’s more important than ever to make sure your website looks as good on mobile as it does on desktops, and that includes your sign-up forms. 

## Before you begin

In Klaviyo, you can create forms that show on all devices (meaning they're visible on desktop and mobile devices), or you can create mobile-only forms that only show on mobile devices.

If your form is set to show on all devices, Klaviyo automatically optimizes some elements, such as font sizes and images, to improve its appearance for shoppers on mobile devices. This guide will cover additional best practices to keep in mind. Use the view selector in the top right corner of the form builder to switch between desktop and mobile views as you build your form. The desktop icon will show what the form looks like for desktop shoppers, while the mobile icon shows what mobile shoppers see.

This guide will cover best practices for creating popup and flyout forms that appear on mobile devices. These are helpful regardless of whether your form shows on all devices or mobile only. For a more in-depth overview about sign-up forms specifically on mobile devices, head to [basics: mobile form design](https://help.klaviyo.com/hc/en-us/articles/15763867466395.md).

## General form best practices

Many of the best practices for desktop forms apply to mobile devices as well: 

- Keep it short and sweet: consider a [multi-step form](https://help.klaviyo.com/hc/en-us/articles/4404256496283.md) if you have a lot of fields.

  - If your form collects email and SMS consent, collect email on the first step, followed by SMS on the second step. Use [Smart Opt-in](https://help.klaviyo.com/hc/en-us/articles/24743883751451.md) for an easier mobile opt-in experience. Smart Opt-in requires SMS to be enabled in your account and a paid SMS plan; see the linked guide for setup requirements.

- Make sure it’s easy to close, so visitors don’t get frustrated and leave your site. 

  - Using a [form teaser](https://help.klaviyo.com/hc/en-us/articles/4411540984859.md) lets shoppers reopen a form they have closed. Set the teaser to **Show after form is closed** or **Show before displaying form and after form is closed**.

- If your form is set to display on all devices (meaning desktop and mobile shoppers will all see it) and includes a [side image](https://help.klaviyo.com/hc/en-us/articles/4404257318043.md), keep the image set to **Desktop** in **Edit styles > Side image**. This hides the side image on mobile devices, leaving more room for your form content.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/e125458a06fd920fb0869c38004b861b9cf205fc-568x438.png?auto=format)

- Use concise labels for each of your input fields (e.g., email address, phone number, etc.) that fit on a single line so shoppers can easily see what information you're asking for.



### SEO and mobile forms 

It’s important to consider mobile SEO best practices, particularly when creating forms on your homepage or other landing pages. Forms that appear on common organic search landing pages shouldn’t cover up your site’s content or disrupt a visitor’s experience; otherwise, the page may be penalized by search algorithms. [Learn more about intrusive interstitials and SEO](https://developers.google.com/search/blog/2016/08/helping-users-easily-access-content-on).

To avoid this:

- Open **Targeting & behavior > Display**. Under **Timing**, set **Show form** to **Based on rules**, turn on **After time delay**, and enter the delay in seconds. If you enable other timing rules, turn on **Only display if all selected conditions are met** so another timing rule does not display the form before the delay has passed.

- Add a [teaser](https://help.klaviyo.com/hc/en-us/articles/4411540984859.md) and set its display option to **Show before displaying form and after form is closed**.



## Optimizing popups

A popup form appears in the middle of a shopper's screen, often covering much of the page and hindering their ability to interact with other elements of the page while the form is open. This makes popups more disruptive, but also higher-converting. 

To optimize how popups function on mobile devices:

1. Disable the form from closing when a mobile shopper clicks outside the form's area to decrease accidental form closures.

   - Navigate to **Targeting & behavior > Display**.

   - Scroll down to **Click outside form to close**.

   - Deselect **On mobile** to prevent taps outside the popup from closing it.




![The Click outside form to close menu within the Devices section for an example form showing On desktop toggled on and On mobile toggled off. ](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/59c33221101227f4d1bcca7b60acd9a41098f23c-692x894.jpg?auto=format)

2. Make sure your form's close icon (the X button) is large enough, even on a small screen like a mobile device.

   - Click on the close icon in the form preview to adjust its size.

   - Test how the form looks on your own mobile device to ensure it's easy to find and click.
For example, the close icon in the form on the left may be hard to click on a mobile device. However, the close icon in the form on the right is larger and easy to find. 




![Two example forms side by side with the close icon slightly larger in the image on the right.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/1af72dfbbdd7df8ef574de39c89a15b6aa963e49-1892x580.jpg?auto=format)

3. Visually separate your popup from the rest of your site, using an overlay color, a drop shadow, or both.

   - Select **Edit styles** to open the **Styles** panel.

   - In the **Overlay color** section, choose a semi-opaque color to draw focus to your form and dim your site’s content while the form is open.

   - Configure a **Drop shadow** to provide subtle shading around your form to separate it from the surrounding content.

4. Adjust the margins of your form so it looks more like a popup form on mobile devices and doesn't run edge-to-edge.


   1. Select **Edit styles**, then scroll down to **Margin**.

   2. Increase the horizontal margins based on how the form looks in the mobile preview.



**📝 Note:** Close-icon styling, overlay color, drop shadow, and margin changes apply to both desktop and mobile versions of your form. The **On mobile** dismissal option only affects mobile visitors.

## Optimizing flyouts 

When a flyout form appears, mobile visitors are still able to interact with your site behind the form, unless **Mobile overlay** is turned on. They can choose to close the form, fill it out, or leave it open as they continue browsing. In general, this makes flyouts less intrusive than popups. 

To optimize your flyout form for a mobile device:

1. Set your form to fly out from the top or bottom of the screen.

   - Select **Edit styles** to open the **Styles** panel.

   - Select **Mobile flyout position**, then choose either **Dock to bottom** or **Dock to top**.
On mobile devices in portrait orientation, your form will fly out from the top or bottom of the screen and cover a portion of the screen from edge to edge. In landscape orientation, it uses the regular flyout position.




![The Mobile Flyout Position in the Styles tab for an example flyout form set to Dock to Bottom.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/458ac7715546522baceadbc890af579a9d9ec9fd-692x668.jpg?auto=format)

2. Visually separate your flyout form from the rest of your site using mobile overlay, a drop shadow, or both.

   - Select **Edit styles** to open the **Styles** panel.

   - Scroll to the **Mobile overlay** and **Drop shadow** settings.

   - Turn on **Mobile overlay** to block interaction with the rest of your site while the flyout form remains open. The overlay does not appear when the flyout form is viewed on a desktop.

   - Turn on **Drop shadow** to provide subtle shading around your form to separate it from the surrounding content. Note that **Drop shadow** settings affect both the mobile and desktop versions of your form.




![The Form Background section of the Styles tab in the form editor showing both Mobile Overlay and Drop Shadow toggled on and configured with example colors.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/72e7c182fbe8984973c5a6e0fc6095db783be490-694x762.jpg?auto=format)

## Next steps

When you’re ready to make your changes live:

1. Click **Publish or schedule** in the form editor.

2. Resolve any blocking alerts. If scheduling options appear, select **Publish now**. Click **Publish now** to publish your changes.



Check the published form on your mobile device, making sure you meet its targeting and display conditions.

Once you've optimized your forms for mobile devices, try [A/B testing your form designs](https://help.klaviyo.com/hc/en-us/articles/360045462071.md) to better understand your site visitors' preferences. 

## Additional resources 

- [Getting started with sign-up forms](https://help.klaviyo.com/hc/en-us/articles/360026474752.md)

- [Understanding form dismissal settings ](https://help.klaviyo.com/hc/en-us/articles/4405381628827.md)

- [Basics: mobile form design](https://help.klaviyo.com/hc/en-us/articles/15763867466395.md)

- [How to collect SMS consent with a tap-to-text form](https://help.klaviyo.com/hc/en-us/articles/9351341171995.md)
