Skip to main content

widget-sekce-modal

Widget - Section Modal

In widget buttons we have the option to check the Modal checkbox, i.e. a pop-up window.

We will demonstrate how to set up a modal using the CTA widget as an example.

On the CTA widget, set the title etc. (in the button section):

  • external url

  • Button text that will be clicked

  • link url address – set the Modal ID here (additional description below)

  • Extension is left as none, but in the checkboxes select Modal

image

Once we have created the widget from which we will control the pop-up window, we need to also create the content for this popup window.

We therefore create another section – a modal section:

image

Importantly, for the section you must always fill in the Modal ID, which will serve as an anchor for the CTA.

image

In this section, select the wysiwyg widget (the most suitable widget for inserting texts or images).

image

Fill in the content and save/publish the page.

On the website this will work as follows: after clicking the button in the CTA block widget, a pop-up window will open with the desired text.

image