Skip to main content
Builder element for YOOtheme Pro

Modal

An offer, a booking form or a short notice usually means a new page and one more click back. The Modal puts any builder layout into a dialog on the same page and opens it on click, after a delay, on scroll or when a visitor is about to leave. Focus, ESC and background click work out of the box.

At a glance

  • System
    Joomla 5 and 6
  • YOOtheme Pro
    4.x and 5.x
  • Core feature
    Any builder layout in a dialog, opened by click, delay, scroll or exit intent
  • Accessible
    Focus moves in and back, ESC, custom ARIA label
Demo 01 / Lakeside hotel / Container width

An offer with room for the view

A summer package sells on the photo, and a small dialog crops it. This modal takes the full container width, scales up on open and keeps the close button outside the frame, so nothing covers the terrace.

  • Width / Container
  • Animation / Scale up
  • Close / Outside, ESC, background click, footer button
Opens in a container-wide dialog

Three nights at the lake, breakfast included

Demo 02 / Fashion studio / Auto-close

A notice that leaves on its own

A launch note is worth five seconds, not a click to dismiss. This one slides up, sits centered on screen and closes itself after five seconds. Its 520 pixel width comes from the CSS field of the element.

Opens centered / closes after 5 s

The autumn collection is in the studio

Slide-bottom entrance, vertically centered, one footer button for those who are faster than the timer.

Demo 03 / Physio practice / Steps

Booking in two steps

One long form scares patients off. Two stacked modals split it: the step button closes the first dialog and opens the second by its ID, and a back button returns.

Opens step 1 of 2

Book a first appointment

  1. Meet your therapist and pick a time
  2. Check your details, then confirm or go back
Demo 04 / Concept store / Dialog and full screen

A small question, a big lookbook

Some content needs a compact dialog, some needs the whole screen. The left card waits until a visitor heads for the browser tabs and then asks once per session. The right card opens a full screen lookbook on click.

Dialog width / exit intent / once per session

Before you go: ten percent off

Move the mouse towards the browser tabs and the dialog appears once per session. The button opens the same modal right away through reference mode.

Full screen / click

The autumn lookbook

No frame, no margin: image and text fill the viewport, the close button sits in the corner. Made for lookbooks, menus and catalogues.

Features

What the Modal can do

Four triggers

Button or link, after a delay, after scrolling a set percentage, or on exit intent. Demo 04 waits for exit intent and asks once per session, so nothing opens on page load.

Display frequency

Every page load, once per session, once ever or once every X days, stored in the browser without cookies.

Three widths

Dialog, container width or full screen, centered or at the top, with optional inner scrolling. Exact widths through the CSS field, as in Demo 02.

Animations and auto-close

Fade, five slide directions, scale up and down, shake. Optional closing after a set number of seconds.

Footer buttons and steps

Up to three buttons that close the modal, open a link or jump to the next modal, plus a stack option for wizards.

Accessible by default

Focus moves into the dialog and back to the trigger, separate switches for ESC and background click, custom ARIA label.

Dialogs without a single line of JavaScript

One-time purchase or subscription, for Joomla 5 and 6 with YOOtheme Pro 4.x and 5.x.