Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #953804

    Hello,

    I am using Photoswipe instead of the magnific lightbox. I got it working and I try to optimize it.

    Funny enough I cannot find the location where the class ‘lightbox-added’ is added to the theme.

    Could you tell me where to look?

    thanks in advance

    Roger

    #954411

    Hey Roger,

    So you are looking to disable the default theme lightbox? If so you can uncheck the Lightbox Modal Window in the first page of the Enfold theme options.

    Best regards,
    Rikard

    #954558

    Hi Rikard,

    Yes I know. If I uncheck Lightbox Model Window, the class ‘lightbox-added’ will also disappear from the html.

    All I want is just a function in my child theme which will add class ‘lightbox-added’ to the images which must open in a lightbox.

    So just the function like the avia-snippet-lightbox.js but without the mfp elements. Is this possible.

    regards

    roger

    #955102

    Hi Roger,

    It is possible, unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.