Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Question about lightbox

  • This topic has 2 replies, 2 voices, and was last updated 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11241
    Avatar photoKalistia

    Hello there and thank you all for this really great software 🙂

    I have a small question about a problem I have on my WIP website:

    I bought the Editorial theme and I would like to add a lightbox for the featured images of a post (like this one)

    How could I do that? I don’t really care if it could be a lightbox for every images on the website, it’s even better! I only want visitors to be able to see all the images in their full size.

    Thank you very much!

    #11258
    Avatar photoKalistia

    The link changed and I can’t edit my post so I’m putting it here.

    Thanks!

    #11369
    Avatar photocandidexmedia

    Hi Kalistia!

    My suggestion would be to add an existing Javascript library for lightboxes. Here are some libraries that I found via a quick Google search:

     

    Look for instructions that provide code that can be added to your head HTML, and allow you to easily add class names to the images that you’d like to turn into lightboxes (example).

    Otherwise, the easiest alternative is to insert a gallery with a single column, and add the image that you’d like people to be able to expand. Lightboxes are already implemented in gallery images via Photoswipe on some (if not all?) themes.

    gallery-image-insert

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