Unfortunately, this isn't possible with the standard Nectar Button element since it's primarily designed to link to a page URL. That said, you can absolutely create a button that opens an image in a lightbox by using the Raw HTML element instead:
Then add the following HTML code making adjustments where possible:
Hi,
Is there an option to open the link from a button to a lightbox image instead of linked to a website page.
Hi Sam,
Great to have you back.
Unfortunately, this isn't possible with the standard Nectar Button element since it's primarily designed to link to a page URL. That said, you can absolutely create a button that opens an image in a lightbox by using the Raw HTML element instead:
Then add the following HTML code making adjustments where possible:
Give this a try and let us know how it works out.
Best wishes,
Salient Theme Support
Hi Again,
Thanks for reaching out! .
Try using the Call to Action Page element instead as it offers lighbox features:
Best,
Salient Support Team
That worked! Thank you.
Hi Sam,
Glad we could help you get this up and running.
Happy coding!
Best wishes,
Salient Theme Support