Suppose you want: when users click on Button Block > Open a Lightbox with custom content.
#1. First, you create a Blank Page in Not Linked with Name/URL
- Contact Us – /contact-us
and design your desired layout with this page.
Here is an example lightbox content layout
#2. Edit Button Block > Add a Link > Paste this URL
- #lightbox_contact-us
Make sure the “Open Link in New Tab” option is disabled.
#3. Install Lightbox Plugin
The plugin will ask you to add some code to Code Injection – Footer, something like this.
#4. Result
When clicking the Button Block, you will have