The Opener block renders a button or inline link that opens one of three overlays: a popup, a drawer, or a video modal.
Opener block
Updated last month
The Opener block renders a button or inline link that opens one of three overlays: a popup, a drawer, or a video modal. Popup and drawer content is built from nested theme or app blocks; the video opener plays a hosted, YouTube, or Vimeo video.
Settings
Several settings appear only under specific conditions, marked below. Turning on Is inlined helper hides the button size, full width, alignment, and margin settings.
Setting | Description | Default |
|---|---|---|
Enable color scheme | Applies a color scheme to the block. The scheme applies only when this is enabled and a scheme is chosen. | Off |
Color scheme | The color scheme applied to the block. Available only when Enable color scheme is on. | Scheme 1 |
Button label | Text on the trigger button or inline link. | Open |
Button size | Visual size of the button: Small, Default, or Large. Available only when Is inlined helper is off. | Default |
Enable full width | Stretches the button to full width. Available only when Is inlined helper is off. | Off |
Is inlined helper | Renders the trigger as an underlined text link instead of a styled button. When on, it hides the button size, full width, alignment, and margin settings. | Off |
Button content alignment | Horizontal alignment of the button content. Available only when Is inlined helper is off. | Center |
Opener type | The overlay the trigger opens: Popup, Drawer, or Video. | Popup |
Title | Heading shown in the popup or drawer. For the video opener it is hidden and read by screen readers only. | Blank |
Video type | Hosted video or YouTube or Vimeo. Available only when Opener type is Video. | Hosted video |
Video | The hosted video file. Available only when Opener type is Video and Video type is Hosted video. | Blank |
Video URL | A YouTube or Vimeo link. Available only when Opener type is Video and Video type is YouTube or Vimeo. | Blank |
Loop video | Repeats the video. Available only when Opener type is Video. | Off |
Margin top (Desktop) / (Mobile) | Space above the block, from 0 to 34. Available only when Is inlined helper is off. | 0 |
Hide block on desktop / on mobile | Hides the block on the chosen device. | Off |
Adding an Opener block offers three presets — Popup opener, Drawer opener, and Video opener — each prefilled with matching trigger text and starter content.
FAQ
What does the Opener block do in the Pops theme?
What overlays can the Opener block open?
The Opener block can open a popup, a drawer, or a video modal. Popup and drawer content is built from nested theme or app blocks, while the video opener plays a hosted, YouTube, or Vimeo video.
How do I turn the Opener block trigger into an inline link instead of a button?
Turn on the Is inlined helper setting. It renders the trigger as an underlined text link instead of a styled button, and hides the button size, full width, alignment, and margin settings.
What video types can the Opener block play?
The video opener plays a hosted video or a YouTube or Vimeo video. Set the Opener type to Video and choose the Video type.
What presets does the Opener block offer in Pops?
Adding an Opener block offers three presets: Popup opener, Drawer opener, and Video opener. Each is prefilled with matching trigger text and starter content.
How do I change the Opener block button size or make it full width?
Use the Button size setting (Small, Default, or Large) and turn on Enable full width to stretch the button. Both are available only when the Is inlined helper setting is off.