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.
Modal Menu
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.
MenuColours
The Modal Colours tab allows you to customise the text, links and background of your modal.
Inner Layout
The Modal Inner Layout tab allows you to modify your modal inner layout and includes: display, direction, position, behaviour, text size, spacing.
Modal Style
The Modal Style properties allow you to customise the look and feel of the modal window, for example: Overlay colour, Height, Width, Position.
Settings
The Modal Settings properties allow you to customise the interactions users can have with the Modal.
Trigger
The modal trigger tab allows you to set the modal's block trigger settings.
Animation
Animate the modal block's appearance and disappearance, with specific transition durations.
Last updated