Add a dropdown, popover or pop-up

Open a box when a visitor hovers or clicks an element. Use Relative for dropdowns and popovers, Fixed for pop-ups, and add a close button.

Updated 22 Nov 2026

An overlay is a box that stays hidden until a visitor hovers over, or clicks, the element that owns it. Use a Relative overlay for a dropdown menu or a small popover that opens next to its element. Use a Fixed overlay for a pop-up that covers the page, such as a sign-up form, a notice or a video.

Do not put the only link to something inside an overlay. An overlay is hidden until it opens, and a visitor whose browser has scripts turned off never sees it. Search engines may also skip what is hidden. Keep every link that matters on the page itself, and use the overlay as a shortcut.

Where to find it

  1. Click the element that should open the overlay. This is its trigger. It can be a button, a picture, a heading or any box. A text element cannot hold an overlay, so put the text inside a box and click the box.
  2. In the panel on the right, open the Effects tab, next to Styles.
  3. Scroll down to Overlays and click the +. Choose Relative (Dropdowns, popovers) or Fixed (Modals, toasts, videos).

A new box named Overlay is added inside your element, with a line of text in it, and it is selected. A bar at the top of the canvas says Editing overlay, with the screen size, and has a Preview overlay button that plays the overlay's Appear. Change the text, add pictures and buttons, and style the box like any other box. Click Done in the bar to go back to the element that owns it.

An element can have several overlays. Each one is a row in Overlays, named by how it opens: Hover or Click, with an Overlay button you click to open its settings. The first one opens on Hover. A second one opens on Click. You can change this for each overlay.

To remove an overlay, select its trigger and click the x at the end of its row in Overlays. This deletes the box and what is in it.

The settings of a Relative overlay

Select the Overlay box. The Effects tab has two sections: Show on, with one row, Interaction, and Overlay, with the rest.

Setting What it does Default
Interaction (in Show on) Hover opens it when the pointer is over the element, or when a visitor tabs to it. Click opens it with a click and closes it with the next click. Hover for the first overlay, Click for the next
Position Which side of the element it opens on: Top, Right, Bottom or Left. Bottom
Align Where it lines up along that side. Three icons: Start, Center and End. Center
Offset Two numbers in one row, in pixels. The first (X) slides the overlay along the side it opens on: sideways for Top and Bottom, up or down for Left and Right. The second (Y) is the gap between the element and the overlay. The gap stays when the overlay flips to the other side. A negative number slides or overlaps the other way. 0 and 10
Dismiss Auto closes it with a click outside it, or the Escape key. Click closes it only with a click on the element, or on a close button inside it. Auto
Collision Auto flips the overlay to the other side when there is no room, and keeps it inside the screen. With Auto, a number in the same row sets how far from the edge of the screen it stays, in pixels (20). None never moves it. Auto, 20

The settings of a Fixed overlay

Setting What it does Default
Interaction (in Show on) Hover or Click, as above. A pop-up usually opens on Click. Hover for the first overlay, Click for the next
Preset How the pop-up and its dark layer come and go: Fade in, Fade in out, Fade out, Instant, Transparent or Disabled. Transparent has no colour on the layer. Disabled lets visitors keep using the page behind it, and its Fill row reads Add… until you add a colour. Choosing a preset also sets Enter and Exit. Instant
Fill The colour of the layer behind the pop-up. With Disabled it starts as Add…: click it to add a colour, and the x takes it away. Black at 80%
Dismissible Yes: a click on the layer or the Escape key closes it. No: only a close button inside it does. Yes
Enter and Exit The speed and feel of the layer coming and going. A lock joins the two rows: when locked, a change to one sets both. See Set the speed and feel of an effect. Set by the preset
Z index Which overlay is in front when more than one is open, from -1 to 10. A decimal is rounded to a whole number. 0
Page scroll Block stops the page from scrolling behind the pop-up. Auto lets it scroll. Block

A Fixed overlay covers the whole screen with its layer and puts your box in the middle of it.

The overlay's own Appear

A new overlay box has its own Appear row in the Effects tab, set to fade in. It plays every time the overlay opens, so its Trigger row is greyed out. You can choose Fade in or Scale in, and set Enter and Exit, joined by a lock. It has no More section. See Make something appear.

Add a close button

Anything inside an overlay can close it.

  1. Select the button or text inside the overlay box.
  2. In the Effects tab, find Close overlay and click the +.

A click on that element now closes the overlay. This matters most when Dismiss is Click, or Dismissible is off, because then it is the only way to close it. Click the - to take it away again.

Keyboard and screen readers

  • The element that opens an overlay can be reached with the Tab key. Press Enter or the space bar to open it.
  • A Hover overlay also opens when a visitor tabs to its element.
  • Escape closes an overlay when Dismiss is Auto, or Dismissible is on.
  • A Fixed overlay is announced as a dialog. When it opens, focus moves into it, Tab stays inside it, and when it closes focus goes back to where it was.
  • The element that owns the overlay tells screen readers whether it is open or closed.
  • Give a Fixed overlay a heading. Screen readers use it as the dialog's name.

On phones

A phone has no hover. A tap on the element opens a Hover overlay, and a tap on it again, or outside the overlay, closes it. A Relative overlay flips or shifts to stay on the screen.

Visitors who turn motion off

Some people switch off motion on their device. For them an overlay opens and closes at once, with no animation. It still works in every other way.

What it adds to your page

The overlay's box is part of the page, hidden until it opens. A page with an overlay loads one small script and one small stylesheet. A page without an overlay loads neither. With scripts turned off, the overlay stays hidden.

Questions

Does it show on the canvas? The box shows on the canvas so you can edit it. Preview overlay plays its Appear. It opens and closes on its trigger only on the published page.

Can an overlay open on a text? Not directly. Put the text in a box and give the box the overlay.

Can I open an overlay from a button somewhere else on the page? Not yet. An overlay opens from the element it sits in.

More in this topic

Back to Help centre

Still stuck?

Write to us and a person replies.

Email [email protected]