Your popup can fill the whole screen, or show as a smaller box centered over a dimmed page. A centered box can feel less intrusive, especially on mobile. You switch between the two in the popup editor.
A centered-box popup uses two containers:
An outer container that fills the screen and acts as the dimmed overlay. This is the template's Root element.
An inner container that's smaller and acts as the popup box.
A fullscreen popup is the same setup with the inner container sized to fill the outer one.
š” Note: Mobile and desktop use separate templates, so each change applies only to the device you're editing. Do the steps once on Mobile and once on Desktop. If several steps share the same template, the change applies to all of them.
Make your popup a centered box
Open the popup in the editor and select Mobile or Desktop at the top of the left sidebar.
In the element tree, find the template's outer container (the Root element). Click its ⯠menu and select Copy.
Click the ⯠menu again and select Paste as child. You now have a copy of the container inside the original.
Delete the elements directly inside the outer container, except the new inner container. Everything else should now sit inside the inner container.
Select the outer container. Under Layout, set Direction to Vertical and set both alignments to Center.
Select the inner container. Under Position, choose Relative.
With the inner container still selected, under Size, set Width and Height. Around 95% works well on mobile, and around 80% on desktop.
āSelect the outer container again. Under Background, set Color to black, then set the opacity box next to the color to 50%. This dims the page behind the popup.
Optional: for a softer look, select the inner container and set Rounded corners, for example to 8px or 12px.
Click Preview to check the result, on your phone if you're editing mobile, then Save.
š” Note: Use the opacity box next to the background color, not the Opacity style section. The Opacity style fades the whole container, including the popup box inside it.
Make your popup fullscreen
If your popup is a centered box, make the inner container as big as the outer one.
Open the popup in the editor and select Mobile or Desktop at the top of the left sidebar.
In the element tree, select the inner container, the smaller box inside the outer container.
In the right sidebar, under Size, set Width and Height to 100%.
āIf the inner container has Rounded corners, set them to 0 so the corners are square.
Click Preview to check the result, on your phone if you're editing mobile, then Save.
The inner container now fills the outer container, which covers the whole screen.
Stop the page scrolling behind the popup
Select the outer container (the Root element) and check its settings:
Modal makes visitors interact with the popup before the page behind it. Keep it on for fullscreen and centered-box popups.
Disable scrolling stops the page underneath from scrolling while the popup is open. It's recommended on mobile. It only appears when Modal is on.
Let visitors use the page while the popup is open
To let shoppers keep clicking and scrolling while the popup is showing:
Select the outer container (the Root element) and turn off Modal. While Modal is on, the popup blocks the page behind it.
Make sure the outer container isn't sized to the full screen (100%, or 100vw and 100vh). Otherwise it still covers the page.
Create a flyout
A flyout, or side widget, is a centered-box popup that sits at the edge of the screen instead. Follow the steps to make your popup a centered box, then change the outer container's Layout alignment so the box sits at the edge instead of the center. To let visitors keep browsing, also turn off Modal as described in the section on letting visitors use the page.
š” Tip: Lia, Alia's built-in AI assistant, can do this for you. Ask it, for example, to "make the mobile popup a centered box at 95% width with a dark overlay" or "make the desktop popup fullscreen." See Getting started with Lia.
Frequently asked questions
I changed desktop, but mobile is still fullscreen. Why?
Mobile and desktop templates are separate. Switch to Mobile and repeat the steps.
Why did my popup change on every step?
Those steps share a template, and the outer and inner containers are part of it. To change one step only, use Duplicate in the template's ⯠menu to give that step its own copy.
How do I make my popup look right on every screen size?
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.




