New popups often fill the whole screen. If you'd rather show a smaller box centered over a dimmed page, you can change the layout in the popup editor.
The idea is to have two containers:
An outer container that fills the screen and acts as the dimmed overlay.
An inner container that's smaller and acts as the popup box.
š” Note: Mobile and desktop use separate templates, so these steps only change desktop. To change mobile, see Create a non-fullscreen mobile popup. If several steps share the same template, the change applies to all of them.
Make the popup non-fullscreen
Open the popup in the editor and select Desktop at the top of the left sidebar.
[Screenshot: Desktop switch at the top of the left sidebar, from the Notion draft]
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.
[Screenshot: Paste as child in the menu, from the Notion draft]
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 to 80%, or to the size you want.
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.
Click Preview to check the result, 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.
š” Tip: For a softer look, select the inner container and set Rounded corners, for example to 8px or 12px.
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/100vh). Otherwise it still covers the page.
Create a flyout
A flyout, or side widget, is a non-fullscreen popup that sits at the edge of the screen. Follow the steps above, 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 follow the steps in the section above.
FAQ
I changed desktop, but mobile is still fullscreen
Mobile and desktop templates are separate. Switch to Mobile and repeat the steps.
š” Tip: Lia, Alia's built-in AI assistant, can resize your popup for you. Ask it, for example, to "make the desktop popup a centered box at 80% width with a dark overlay." See Getting started with Lia.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.
