Suppose you want a Google Calendar Lightbox appears when users click on the Header button, you can follow these steps:
#1. Create a blank page in Not Linked with Name/URL:
- Google Calendar – /google-calendar
then edit the page and paste your Google Calendar Embed code, something like this.
#2. Edit Header Button > Enter this URL
- #lightbox_google-calendar
and 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