• Resolved yannp

    (@yannp)


    Hello,

    I am having an issue with LearnPress lessons. The content of my lessons is managed via Elementor, and when I have illustrative images, I would like them to be clickable with a lightbox.

    It appears that there is JavaScript code in LearnPress that prevents any <a> tags in the lessons from being clicked.

    I was able to restore clicking on <a> tags using the e.stopImmediatePropagation(); method of the event, but I can’t restore the native functionality of the lightbox.

    Is there a way to remove this block on clicks on <a> tags?

    Thanks,
    Yann Parchemin.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi Yann Parchemin,

    Thank you for reaching out.

    We tried to access the lesson page you provided, but it appears to be locked, and we’re unable to view the content or replicate the behavior you’re describing.

    To help us investigate and provide you with an accurate solution, would you be able to temporarily set the lesson to preview mode? This would allow us to examine the specific JavaScript behavior and understand how it’s interfering with your <a> tags and lightbox functionality.

    Thank you for your cooperation!

    Best regards,
    Brianvu-tp

    Thread Starter yannp

    (@yannp)

    Hello,

    It’s done, you can access the lesson.

    Thanks,
    Yann Parchemin.

    Plugin Support brianvu-tp

    (@briantp)

    Hi Yann Parchemin,

    Thanks for granting access!

    We’ve addressed this behavior in a recent LearnPress beta version.

    Please download and install this beta version.

    After installing, please check your lessons to see if your images are now clickable and if the lightbox functionality is working as expected.

    Best regards,
    Brianvu-tp

    Thread Starter yannp

    (@yannp)

    Hello,

    Thanks it’s working !

    Have a nice day,
    Yann Parchemin.

    Plugin Support brianvu-tp

    (@briantp)

    Hi Yann Parchemin,

    We’re glad to hear that you found the solution useful!


    If you are satisfied with LearnPress, we would greatly appreciate it if you could leave us a 5-star review. A nice rating is a big motivation for us to keep up the hard work, and it’s really important to us.

    Thank you very much for your feedback.

    Best regards,
    Brianvu-tp

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Lightbox problem with Elementor in lesson’ is closed to new replies.