How can I activate the lightbox feature on click of button or URL?

  • Profile Image
    Norby
    Asked on January 25, 2015 at 08:20 PM
    HelloHow can I activate the lightbox feature on click of button or URL?Thanks

    This is a re-post of a comment on How to Auto-popup a Lightbox Form

  • Profile Image
    Welvin
    Answered on January 26, 2015 at 05:08 AM

    Hi Norby,

    That is possible. Here's how:

    a. You will notice the following line in your Lightbox embed codes:

    <a class="lightbox-XXXXXXXXXX" style="cursor:pointer;color:blue;text-decoration:underline;">Contact Form</a>

    Just change it to:

    <a class="lightbox-2XXXXXXXXXX" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="//example.com/button.png" height="42" width="42"></a>

    You have to change the image "http://example.com/button.png" to your own button Image URL. Then make sure to change your height and width values to match it with your own button size.

    Let us know if you need further help about it.

    Thanks