Basker Docs

Modal presets

Create reusable pop-up designs for blocks that open an item without leaving the page.

A Modal preset controls what a pop-up shows and how it looks. The pop-up opens when a visitor clicks an item in a listing and stays on the page. Create presets in Design → Modals. Then choose one from Modal Preset in a Collection, a Calendar block, or another block whose click action opens a pop-up.

You do not add a modal directly to a page or type its content by hand. The listing supplies the content from the event, person, or other item. The preset decides which details appear, in what order, and what frame surrounds them.

A block with no selected preset uses the first preset for its content family. If there is none, it uses a Generic preset, then a built-in default. Select a preset on the block when you have more than one for the same family.

Create a preset

Open Design → Modals and click New. The preset opens in the editor. Give it a name. Set Collection to the family it serves: Events (default), People, Seasons, Series, Works, Venues, Organizations, or Generic.

The preset appears only where that content family applies. Give presets clear names such as Event details or Cast bio so editors can recognize them in a block's Modal Preset picker.

The preview shows the pop-up over a sample page. Choose Desktop, Tablet, or Mobile to change the preview width. Click Replay to play the open animation again. To edit a preset later, select it and click Edit modal.

Content

The Content tab is an ordered list of sections. Each row is one section of the pop-up, top to bottom. Add, remove, and drag rows to change what the pop-up shows.

Every family can use these sections:

  • Image: the item's image.
  • Title and Subtitle.
  • Description: the item's description.
  • Buttons: the item's links, styled with a Button Preset you choose on the row.

Some families add their own sections:

  • Events: Date & Time, Showtimes, Venue, and Booking Button (also styled with a Button Preset).
  • People: Role, Pronouns, and Biography.

A new preset starts with the default sections for its family. If you remove every row and save, the default sections come back. You cannot save a section that does not belong to the selected family.

Appearance

The Layout picker in the structure sets where the pop-up shows: Image Side, Image Top, Side Sheet, Bottom Sheet, Corner, or Fullscreen.

The Appearance tab sets the frame around the content and its colors.

  • Width: S, M, L, XL (default), or Full.
  • Corner Radius: None, S, M, L, or Box (default).
  • Padding: None, S, M (default), or L.
  • Image Position: Left (default), Right, or Top.
  • Image Width: how much of the pop-up the image takes when it sits at the side: 1/3 (default), 1/2, or 2/3. Hidden when Image Position is Top.
  • Image Fit: Cover (default) or Contain.
  • Scrolling: Whole Modal (default) or Body Only.
  • Backdrop: what shows behind the pop-up: None, Overlay, or Blur. With Overlay, set a Backdrop Color.
  • Animation: None, Fade (default), Zoom, or Slide.
  • Close Button: Inside (default), Outside, or Screen Corner. Turn on Show Close Label to show a text label, and choose a Close Button Style.
  • Sticky Buttons: keep the buttons in view while the content scrolls. Off by default.
  • Color Scheme: choose a color scheme from the Website Builder theme. Leave it empty to inherit the scheme of the block that opened the pop-up.

Example

Create a preset named Event details and set Collection to Events. Keep the default sections: image, title, date and time, showtimes, description, buttons, and booking button. On Appearance, set Image Position to Top. Save the preset. Then select Event details under Modal Preset on a Calendar block that opens events in a pop-up.

Where to go next

On this page