Modal Section Guide
The Modal section is a reusable popup you can trigger from any link or button using a hash (#trigger-id).
Quick Setup
- Go to Online Store -> Themes -> Customize.
- Add the Modal section.
- Set a Trigger ID (example:
promo-modal). - Add your content blocks inside the Modal section.
- Create a link/button anywhere with URL
#promo-modal. - Save and test.
Trigger Behavior
In Modal settings:
Trigger ID: unique ID used in links (#your-id)Auto-open on page load: show automatically on loadAuto-open delay: delay before auto-openShow on exit intent: show when user leaves browser windowShow only once per session: limits repeat popupsShow in editor: preview open inside Theme Editor
Layout and Size
Direction: row or column layout for modal contentWidth: small, medium, large, extra large, full, or customCustom width: available when width is customMax heightandPadding
Appearance
Color schemeOverlay opacityClose button positionAnimation: fade, slide-up, or scale- Border/shadow controls
Example Trigger Link
If your Trigger ID is holiday-promo, use:
#holiday-promo
Example button link target:
#holiday-promo
Notes
- Trigger links work anywhere in theme content that supports links.
- Make sure each modal has a unique Trigger ID.