• Resolved pysiu

    (@pysiu)


    Hi,
    I haven’t uploaded my page yet, so I can’t give you a link to check it out. I’m using WordPress version 4.9.7. I have featherlight enabled on my page. I am loading the image with php like this:
    <a href="#" class="clickableImage" data-featherlight="<?php the_post_thumbnail_url( 'full' );?>"><?php the_post_thumbnail(array(440,440))?></a>

    Unfortunately, if I click the image, the page only slides up (due to the ‘#’ anchor). No lightbox is opening.

    Thx for your help!

    • This topic was modified 6 years, 4 months ago by pysiu.
    • This topic was modified 6 years, 4 months ago by pysiu.
    • This topic was modified 6 years, 4 months ago by pysiu.
Viewing 1 replies (of 1 total)
  • Plugin Author Ozzy Rodriguez

    (@ozzyr)

    Hi pysiu,

    Can you try pointing href to the image you’d like to open up in the lightbox and replace the value of data-featherlight with image and see if that works?

    Thanks,

    Ozzy

Viewing 1 replies (of 1 total)
  • The topic ‘Lightbox not opening! WP 4.9.7.’ is closed to new replies.