Home Forums Basel support forum How to use Lightbox in other places

How to use Lightbox in other places

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5090

    codepageNET
    Participant

    Hello

    How exactly can i activate the Lightbox that is used on single-product pages for other images? Do i have to set certain classes or attributes on the a-tag?

    I build some extra stuff in code, so i won’t use the visual composer.

    Thanks!

    #5098

    Artem Temos
    Keymaster

    Hello,

    Thank you for the question.

    Unfortunately, Photoswipe popup is available only for products gallery. And if you want to use it for other images probably you will need to add some JS code and use specific HTML markup. Here is a library documentation where you can find some examples how you can use it http://photoswipe.com/documentation/getting-started.html

    Or you can try to use this additional plugin for this purpose https://wordpress.org/plugins/photo-swipe/

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)