Hi there,
Could anybody help me out here:
We are using the Bookly plugin for scheduling calls and have created a nice form using shortcodes. Mods here suggested WP Popup and we really like that one. Created a popup with WP Popup – and it displays totally fine using the plugin’s display selection rules.
The problem, however:
We would want this popup to be displayed triggered by a button we created in Avia Layout Builder. We have defined a trigger class in WP Popup like “spu-open-1234” – how and where would we use that now with ALB to trigger that certain popup?
Thank you!
Hey DGITeV,
Thank you for the inquiry.
You should be able to apply the class name for the popup in the the button element’s Advanced > Developer Settings > Custom CSS Class field. The value of this field will be reflected in the button element’s class attribute in the front end.
Best regards,
Ismael
Thanks, Ismael.
That sounds good. Being not very much a technical person, I shied away from the warning message I received, cf. screenshot.
Could you help me with the exact syntax I would have to use here?
Sorry, that was the wrong link for the screenshot. Here we go..
Hi,
Thank you for the info.
You just need to add the class name spu-open-1234 in the field without the class attribute or any tags. If you want to apply multiple class names, just separate them using a blank space.
spu-open-1234 spu-open-4321
Best regards,
Ismael
Excellent, thank you so much!