Skip to main content

Overview of the Alia popup editor

How the popup editor is laid out, how mobile and desktop differ, and how to style, add, and arrange elements.

Written by Rob D

The popup editor is where you build everything a visitor sees in a popup: its steps, the elements on each step, how they look on mobile and desktop, and what happens when a visitor clicks or submits.

šŸ’” Tip: Lia, Alia's built-in AI assistant, can make design changes for you, such as colors, borders, icons, and layout, without any CSS. Ask in the Lia chat at the bottom of the right sidebar. See Getting started with Lia.

The editor layout

  • Top bar: the popup's name, the step bar (floating buttons on the left, then the numbered steps), Undo and Redo, Preview, Save, and Mark as ready or Publish.

  • Left sidebar: the Mobile and Desktop switch, the template for the current step, and the current step's own content, shown as element trees.

  • Canvas: every step side by side. Click an element to select it, drag to move it, and double-click text to edit it.

  • Right sidebar: the selected element's settings and Styles. With nothing selected, it shows the Triggers and Integration settings tabs. The Lia chat sits here too.

Steps and templates

Every step has two parts:

  • The step's own content, shown in the left sidebar as "Content unique to this step". This is the headline, form, or reward that changes from step to step. Step content is shared between mobile and desktop, so adding, removing, or editing an element here changes it on both.

  • The template: the frame around the content, such as the background, close button, logo, and side image. Each step has a mobile template and a desktop template, and several steps usually share them. A change to a template applies to every step that uses it, on that device only.

So if you add an element and it shows on every step, you added it to the template. If it shows on mobile but not desktop, you added it to the mobile template.

Mobile and desktop

Use the Mobile and Desktop switch at the top of the left sidebar to change which device you're editing. Most traffic is mobile, so we recommend starting there.

When you style an element, choose All screen sizes (the default) or Desktop only. Desktop-only styles override the others on desktop, so you can make a headline larger on desktop while keeping it smaller on mobile.

To show an element on one device only, set its Visibility to Hidden under All screen sizes and Visible under Desktop only, or the other way around.

Styling elements

Most elements use a shared style from your theme, such as Heading 1 or Primary button. When you select one, choose:

  • Edit shared style: changes the style itself, which updates every element that uses it.

  • Edit just this element: changes only the selected element.

Styles in the right sidebar has sections for layout, size, text, borders, background, animation, visibility, and more. For anything they don't cover, use Edit CSS.

On the Theme page, under Text styles, select Add Link style and style it. It applies to links inside text.

Adding custom fonts

The font picker includes your custom fonts, common system fonts, and every Google Font. To add your own font:

  1. Open a font picker. On the Theme page, click a font field. In the popup editor, select a text element, choose Edit shared style or Edit just this element under Styles, click the font field in the Text section, then select Edit font or Add a font....

  2. In Type to search fonts..., type the font's name and select Add custom font "…".

  3. Upload a file for each weight and style you need. A regular (400, normal) file is required. Use Add variant for more weights or italics.

  4. Select Save. The font shows in the picker marked (Custom).

In the popup editor, Edit font changes that font everywhere it's used in the popup. To use the new font on only some text, choose Add a font....

Font files can be OTF, TTF, WOFF, or WOFF2. If you have a choice, use WOFF2, the smallest. If your site already loads the font, turn on Use font from site so visitors don't download it twice. See How to reuse fonts loaded on your site.

Adding and arranging elements

  • Add an element: select + (Add child element) on a container in the element tree, or use the toolbar at the bottom of the canvas.

  • Replace an image: select the image and choose Upload or Library in its Image section.

  • Element menu: each element's ⋯ menu has Clone, Copy, Cut, Paste, Convert to component, and Delete.

  • Move elements: drag them in the element tree or on the canvas.

If padding is already zero and you need elements closer together, adjust margins instead: change the parent container's spacing, or reduce the bottom margin of the upper element.

Images

You can upload PNG, JPG, WEBP, AVIF, GIF (including animated GIFs), and SVG. Video files aren't supported, so use an animated GIF for motion. When you upload, Crop and resize image lets you crop, resize, and remove the background. Convert to WEBP is ticked by default for JPG and PNG files to make them smaller. Images can be up to 50MB, but resize very large images before uploading.

Steps and button actions

You can reorder steps by dragging them in the step bar. Visitors move between steps through button actions, not the step bar order: a Next step action follows the order in the step bar, but an action that names a step goes to that step wherever it sits.

Frequently asked questions

I added an element and it shows on every step. Why?

It's in the template. Move it into the step's content, under "Content unique to this step".

I changed something on mobile and it didn't change on desktop. Why?

It was in the mobile template, or the style has a Desktop only override.

My site's text looks different after the popup loads. Why?

The popup's font is clashing with your site's. Add the font as a custom font with Use font from site on, using the exact name your site uses.

Buttons or quiz options can't be clicked on desktop. Why?

Another element, often an image, is on top of them. Change the layering with Z-index under Elevation, or turn on Click through for the covering element.

An image looks cut off. Why?

Check whether both the image file and its container have a mask.

The popup jumps off screen on iPhone when someone taps a field. Why?

iPhones zoom in on inputs with text smaller than 16 pixels. Set the input's font size to 16 pixels or larger.

Lower the popup's Z-index under Elevation.

Before you publish, use Preview to check the popup on both mobile and desktop.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?