Opener block
Updated today
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.