Modal element

Sign up offers, video lightboxes and confirmations in a centered window that dims your WordPress page and waits until the visitor makes a choice.

Video thumbnail for How to Trigger Modals in WordPress from Mosaic Builder: the words "Make it a modal" on a dark purple background beside a blue WordPress modal window with a close button, and a play button in the center
Build your first modal, start to finish

Add a ready-made modal from the library and open it on page load, scroll depth, exit intent or a click, then limit how often it shows up and give it a custom open and close animation.

Ready in every theme

Blank, Monolith, and Gibraltar come with ready-made modals in their Parts library. Here are twelve of them, with a different part number on every card.

Where a modal fits best

Six everyday jobs, each one handled by a real Modal from a Mosaic theme.
Click the demo at the top of each card and watch the page step back as it opens.

The Mosaic press kit

Logos, product screenshots and the brand guide in one 24 MB ZIP. Free to use in any article, review or blog post.

Press kit download

Monolith's Modal 14 hands over a press kit, with a download button and a Close link.

Send us your site, get a ten minute teardown

Paste your address and we record a short video walking through the three things we would change first.

Consent
Site review request

Gibraltar's Modal 11 asks for an email and a site address, right beside a photo.

Tickets are sold on our partner site

Our ticketing partner handles the sale, so checkout and payment happen on their own page.

Go to tickets
Leaving the site

Blank's Modal 02 says a partner's page comes next, and lets visitors stay or go on.

Contact support

Every message is read by a person, and we reply within one working day.

Support form

Blank's Modal 04 is a short message form that turns into a thank you on the spot.

Age verification

By clicking enter I confirm that I am over 21 and will follow the local laws.

I’m under 21

Always enjoy responsibily.

Age verification

Monolith's Modal 16 asks for a visitor's age beside a photo before the shop opens.

Pricing plan

Gibraltar's Modal 06 shows a plan, its price and what's included, with a Buy now button.

Starter
$24

/month

One site, one editor, and every feature switched on from day one. Nothing is metered.

INCLUDED features
  • Unlimited pages and posts

  • Every block and page template

  • Custom domain and free SSL

  • Email support, one working day

Buy now

Easy exit, or a firm answer

One setting, Close on, decides it. A modal people can close easily earns their trust, and one that waits makes sure the answer comes before anything else.

A WordPress modal with The WordPress handoff checklist sign up form open in the Mosaic Builder editor, with the Close on setting zoomed in to show its options: Everything (selected), Overlay click, Esc and Nothing

Let visitors close it

For offers, videos and notices, visitors close it the way they close any window, so nobody feels trapped.

  • Esc and a click on the overlay, both on for new modals

  • Keep only one of them when the other gets in the way

  • The Got it button closes its own modal with no setup

Wait for an answer

For age checks, cookie choices, and confirmations, the modal stays open until the visitor picks one of its buttons.

  • Close on Nothing turns off Esc and outside clicks

  • Give the window its own buttons, like Yes and No

  • Set the role to alertdialog for confirmations

An age check modal asking visitors to confirm they are 21 or older, with I'm under 21 and I'm over 21 buttons, open over a dimmed page in the Mosaic Builder editor, with Modal settings in the side panel showing Open on set to Page load and Close on set to Nothing

Open it at the right moment

Pick when the modal shows up, then add a run rule such as once per visitor or once a week, so returning customers don't see the same offer on every single visit.

From any button

Open it from a button or link anywhere on the page, as often as people click.

After a short delay

Show it as the page loads, or a few seconds later once visitors settle in.

Partway down the page

Wait until a reader has scrolled a set distance, in percent, pixels or vh.

On the way out

Catch desktop visitors as the pointer heads up and out of the browser window.

Modal or Popover?

Both show content on top of the page and open on the same triggers. Pick the Modal when the visitor has to stop and answer before going on.

Feature
Modal
Popover
What it means for you
While it is open

Everything behind it dims and waits, with scrolling and clicks paused

The page stays live, so visitors keep scrolling, reading and clicking

Choose the Modal when nothing else on the page should compete with it

Where it shows

Always in the middle of the screen, whatever button or trigger opened it

Beside the button that opened it, or in one of nine spots on the screen

A centered window tells visitors this matters more than the page

Long content

The window scrolls on its own once its content is taller than the screen

It grows and shrinks to fit what you put inside, so it suits short content

Long-term forms and videos belong in a Modal, quick tips in a Popover

Buttons

Open and Close actions, so one button opens it and another closes it

Open, Close, and Toggle, so a single button can open and shut it

Give a Modal its own close button, and leave toggling menus to a Popover

When to use it

When the visitor has to decide, confirm, or sign up before going on

When the visitor should be free to ignore it and simply carry on

Ask if the content can wait for the visitor. If it can't, make it a Modal

Built like any other element

You build a modal with the same tools as the rest of your page, and the details visitors only notice when they're missing are already taken care of.

A WordPress modal with The WordPress handoff checklist sign up form selected on the Mosaic Builder canvas over a Monolith page, with the window's classes and style settings in the side panel and the Show animation timeline open below
Your classes

The window and the overlay take your classes, and any window can be saved as a component.

Your animation

Show, Before close and After close moments, and the exit animation always plays to the end.

Focus handled

Tab stays inside the window, focus moves to its first field and comes back when it closes.

Edited on the canvas

It stays in view on the canvas while you edit, so you can style it right where it shows.

Elements that pair with a modal

A modal is only as good as what you put inside it. These are the elements you will place in one or use to open it, each with its own step by step guide in the Mosaic docs.

Modal questions, answered

The details that come up once you put a modal in front of real visitors, from phones to Google. The docs cover every setting, and our team answers anything that is still unclear.

Which Mosaic plans include the Modal?

Every plan. The Modal sits in the Add panel with every other element, on Personal, Creator, and Agency alike, and nothing about it is held back for a higher plan or sold as an extra add on.

Your cookie preferences

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.