Classic Slider - incorporating lightbox feature

Hello,
I am using Cornerstone with the Classic Slider for my individual artwork pages. I would like to do what a previous person wrote in about (I can’t access this post; it has a “lock” icon on it for some reason):

Is this possible? For visual artists, it’s kindof a big deal to have this feature. . .

Many thanks,
Laura

Hi Laura,

Thank you for reaching out to us. In your slides, wrap your images with <a></a> tags with a class my-lightbox. For example:

<a class="my-lightbox" href="http://placehold.it/1200x600/3498db/2980b9"><img src="http://placehold.it/1200x600/3498db/2980b9" alt="Placeholder"></a>

It is important to note that the URL in the href attribute of the <a></a> tags should be the same as the image URL to show it in the lightbox:

Repeat this step for all the slides. Then add a Raw Content element and paste the following shortcode:

[lightbox selector=".my-lightbox"]

If this doesn’t work then you need to disable the Random option in the Classic Slider element
image

Hope that helps

Thanks very much for your reply . . . I will see how that works. . . I’m also trying to see if I can achieve a magnifier effect (different support ticket), which would be even better. . . .

Best,
Laura

Thank you Laura.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.