Modal

The modal block is a popup or dialog that appears over a page's content. It can be interacted with to exit it and return to the page.

Basics

The modal block is essentially an overlay background and a div block.

The modal block will appear inline (beneath or above) when using the editor so that editing is easy and intuitive. On the front-end, the modal block will be rendered overlaying the other elements of the page.

To hide/reveal the modal block, simply toggle the "eye" icon in the Cwicly Navigator.

It is not advisable to add a modal block inside a parent block as this will create errors.

Add a modal
  1. Click on the ➕ ​​icon to open the Inserter Panel

You need to add a Menu to your modal block before you style it.

With the Modal block selected, add a Menu from the Quick Inserter.

pageMenu

Colours

The Modal Colours tab allows you to customise the text, links and background of your modal.

Modify colours
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Find Colours Tab

  3. Open to modify text, links and background colours

Reset colours
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Find Colours Tab

  3. Click dot(s) to reset modal colours

Inner Layout

The Modal Inner Layout tab allows you to modify your modal inner layout and includes: display, direction, position, behaviour, text size, spacing.

Modify inner layout
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Find Layout Tab

  3. Open to modify inner layout (display, direction, position, behaviour, text size, spacing)

Reset inner layout
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Find Layout Tab

  3. Click dot(s) to reset

pageLayout

The Modal Style properties allow you to customise the look and feel of the modal window, for example: Overlay colour, Height, Width, Position.

pageModal Style

Settings

The Modal Settings properties allow you to customise the interactions users can have with the Modal.

pageSettings

Trigger

The modal trigger tab allows you to set the modal's block trigger settings.

pageTrigger

Animation

Animate the modal block's appearance and disappearance, with specific transition durations.

pageAnimation

Last updated