Select Page

How can we help you today?

Categories
← Back
Print

Canvas Popups

Meet Divi Sensei Canvas Popups for Divi! Divi 5 lets you design extra canvases (off-canvas layouts) next to your page. Canvas Popups turns any of them into a real popup with a single toggle. You design the popup with the modules you already know. Then you decide what opens it, where it may appear and how it looks, all without leaving the Visual Builder.

View Demo →

With Canvas Popups you can:

  1. Turn any Divi 5 canvas into a site-wide popup with one toggle in its Canvas Settings
  2. Open it on page load, on exit intent, at a scroll depth, after inactivity or on click
  3. Limit how often a visitor sees it: every time, once per session or once every few days
  4. Show it everywhere, on the front page only, on chosen post types or on chosen pages
  5. Place it in one of nine screen positions, from centered modals to full-height side panels
  6. Style the backdrop, the close button and the entrance animation per breakpoint

Installation

Canvas Popups is a standalone plugin and needs the Divi 5 theme.

  1. In WordPress, go to Plugins → Add New → Upload Plugin.
  2. Upload the Canvas Popups ZIP file and click Install Now.
  3. Click Activate.

Activating your license

Go to Divi → Divi Sensei Canvas Popups, enter your License Key and click Activate License. The page then shows your License Status.

Popups only appear on your site while a license is activated. An expired license keeps your popups running; you only stop receiving updates until you renew. Use Deactivate License to free the activation for another site.

Turn on Enable beta updates to receive pre-release versions. Beta builds may be less stable, so try them on a staging site first.

How to create a popup

  1. Open any page in the Divi 5 Visual Builder.
  2. Click the canvas selector in the top-left corner of the builder and choose Add Canvas, or pick an existing canvas.
  3. Hover over the canvas in the list and click its gear icon to open Canvas Settings.
  4. Turn on Make This Canvas A Popup and click Save.
  5. Design the popup content on that canvas with any sections, rows and modules.
  6. Click the Popup Settings button in the left builder bar to set the trigger, display conditions and design.
  7. Save the page.

A popup canvas is added to every page of your site automatically. That is why Make Global and Append To Main Canvas are hidden once the toggle is on. Use the display conditions to limit where it appears.

The Popup Settings button only shows while a popup canvas is open in the builder. Its window has three tabs: Trigger, Display and Design.

Trigger

The Trigger tab decides what opens the popup and how often the same visitor sees it.

  • Popup Trigger: Page Load, Exit Intent, Scroll Depth, Click On Selector or Inactivity.
  • Load Delay (Seconds): with Page Load, waits this many seconds before the popup opens.
  • Scroll Depth (%): with Scroll Depth, opens the popup once the visitor has scrolled this far down the page (0–100).
  • Click Selector: with Click On Selector, a CSS selector such as .open-newsletter. Every element that matches it opens the popup.
  • Inactivity Time (Seconds): with Inactivity, opens the popup after this many seconds without mouse, keyboard, scroll or touch activity.
  • Display Frequency: Every Time, Once Per Session or Once Per N Days.
  • Days Between Displays: with Once Per N Days, the number of days before the popup may open again.

Exit Intent fires when the mouse leaves the top edge of the browser window, so it works on desktop devices.

NOTE: The display frequency only limits the automatic triggers. A click on an opener always opens the popup, even if the visitor has already seen it.

To open a popup from a button, give the button a class in Advanced → CSS ID & Classes, for example open-newsletter. Then set the popup’s trigger to Click On Selector with .open-newsletter.

Display Conditions

The Display tab decides on which pages the popup is allowed to appear.

  • Display On: Everywhere, Front Page Only, Specific Post Types or Specific Pages.
  • Post Types: with Specific Post Types, tick the post types the popup should appear on.
  • Include Post/Page IDs: with Specific Pages, a comma-separated list of the IDs the popup should appear on.
  • Exclude Post/Page IDs: a comma-separated list of IDs the popup must never appear on. Exclusions always win over the other rules.
  • Show On Archives: also shows the popup on archive, blog and search pages.

Design Settings

The Design tab has two groups. Fields with a responsive icon can take a different value per breakpoint. Click the icon to edit all breakpoints at once in the Responsive Editor.

Position & Size
  • Popup Position: one of nine spots on the screen. The center keeps a classic modal. The left and right middle spots make a full-height side panel. The top and bottom spots work well for bars and corner notices.
  • Popup Edge Padding: the space between the popup and the edge of the screen.
  • Width: the popup width, for example 700px or 90vw. A popup never gets wider than the screen. The defaults are 700px on desktop, 80vw on tablet and 90vw on phone.
Appearance & Behavior
  • Entrance Animation: None, Fade, Scale or Slide. Slide moves the popup in from the edge it is placed at, for example from the right for a right side panel.
  • Backdrop: dims the page behind the popup.
  • Backdrop Color: the color and transparency of the backdrop.
  • Close On Backdrop Click: closes the popup when the visitor clicks the backdrop.
  • Close Button: shows a round close button in the popup’s top-right corner.
  • Close Button Background and Close Button Icon Color: the colors of the close button, each with its own hover color.
  • Close On ESC: closes the popup with the Escape key.
  • Lock Body Scroll: stops the page behind the popup from scrolling while the popup is open. The scrollbar stays visible, so the page doesn’t jump.

Accessibility

Popups open as dialogs for screen readers. Keyboard focus moves into the popup when it opens and stays inside it while you press Tab. When the popup closes, focus goes back to where it was before. Keep Close On ESC or the Close Button turned on so keyboard users can always leave the popup.

Privacy

Canvas Popups sets no cookies. To respect the display frequency, it stores a small marker in the visitor’s browser. Once Per Session uses session storage, and Once Per N Days uses local storage with the time the popup was last shown. Nothing is sent to your server or to a third party.

Design Ideas

  1. A newsletter signup that opens at 40% scroll depth, once every 7 days.
  2. An exit-intent discount offer, shown once per session.
  3. An announcement bar at the top center that slides in on page load.
  4. A small corner notice at the bottom left, without a backdrop.
  5. A full-height slide-in menu at the right edge, opened by a MENU button with Click On Selector.
  6. A help popup opened by a floating chat button.

Every one of these is live on the Canvas Popups demo.

Previous Button Grid
Next Card Stack
Table of Contents