Components and popups
Popups
Build popups (Builder Pro) in the builder like any page, then open them from a button or link, after a delay, on scroll, or when a visitor is about to leave, with rules for pages, visitors, devices and frequency.
Popups are part of Builder Pro or Kufi ONE (activate a Pro key). Without Pro, the Popup element shows a Pro badge and new popups can't be made; popups made earlier keep opening on your site exactly as set, but can't be changed.
Create a popup
Two ways:
- Kufi → Popups → Add popup. The builder opens with a new popup that already has a heading, text and a button.
- From a page in the builder: add the Popup element (or set any button's Link to Popup), then choose Create new popup. Name it, and the popup's builder opens in a window on top of your page. Your page is saved as a draft first, so nothing is lost. Done publishes the popup and brings you back; × closes without publishing.
Everything inside a popup sits in the popup box. Add any elements to it, including a contact form.
Popup settings
Select the popup box (or open Settings → Popup settings).
Opening
- Only from a button or link, the default.
- By itself, after a few seconds: set the seconds.
- By itself, when the visitor scrolls: set how far down the page, in percent.
- By itself, when the visitor is about to leave: opens when the pointer heads for the browser's tabs or close button. Phones have no pointer, so there it opens after 30 seconds instead.
Buttons and links can always open a popup, whatever its Opening setting.
Where it can open by itself
- Every page, Only these pages or Every page except these. List addresses one per line, like
/pricing/or/blog/*, where*matches anything and/is the home page. - Everyone, Only visitors who aren't logged in, or Only logged-in users.
- Don't open by itself on: switch off Desktop, Tablet or Phone.
How often it opens by itself
- On every page view, Once per visit, Once every few days (set the days) or Only once. Counted per browser.
- Stop opening by itself once a form in it is sent.
- Close this many seconds after a form is sent (0 keeps it open).
Style (Style tab)
- Position, per device: Center, Top, Bottom, Bottom corner (start or end), Side panel (start or end), Full screen. Bottom corner popups don't cover the page, so visitors can keep scrolling and clicking.
- Width per device (560px to start) and Highest it can be; longer content scrolls inside.
- Animation (fits the position, fade, zoom, pop, slide up, slide down, slide from the side, none) and its length.
- Backdrop color, Blur the page behind, Clicking the backdrop closes it.
- Close button: inside the box, outside it, or none (Escape still closes it), and its color.
- Background, padding, corners, border and shadow of the box.
Open a popup
- Popup element: shows a button that opens the popup, or "opens by itself" on this page using the popup's own Opening settings, even if the popup's page rules don't include this page.
- Any link: switch a button's, image's or column's Link to Popup and pick one.
- Menus and text links: use
#popup-123, where 123 is the popup's ID: the number afterpost=in the address bar while you edit it. Picking the popup in a Link field fills this in for you. - An address:
https://example.com/pricing/#popup-123opens the page with the popup open. - Code:
KufiFront.openPopup(123).
Good to know
- One popup is open at a time. Videos inside stop when it closes.
- Frequency is stored in the visitor's browser, so popups work with page caching.
- With Polylang or WPML, each language has its own popup and links work across languages.
- Popups are built with
<dialog>, so keyboard and screen-reader users can use and close them. Set the Popup name and Close button label in the Labels tab.
More in Components and popups
Still need help?
Tell us what you are trying to do and what you see. We read every message.