Is it Possible to Close a Modal Popup on the Click of a Button or Text?

Is it Possible to Close a Modal Popup on the Click of a Button or Text?

We have already seen how you can create a modal popup, design and manage its behavior in Beaver Builder. Refer to the article here.

What if you wish to allow users to close the popup when they click on some text or a button present on it?

You can do this too!

You can use the 「uabb-modal-close」 class to do so.

All you need to do is:

1. Under the Content tab of Modal popup settings, select Type = Content.

2. Use the class within any HTML code that you wish to add.

Example

Continue shoppingHere, the modal will get closed when the user clicks on 「Continue shopping」.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注