Hi I have a need to display some thumbnails, each of which would launch a lightbox gallery. I can do it by hiding all but the first thumbnail, which works fine but seems a bit hacky. Is there another way through the ALB?
Currently, I just hide all the thumbs, then add this: #top #wrap_all .avia-gallery .avia-gallery-thumb a.first_thumb.lightbox.lightbox-added{display: block;} and it works fine. Just looking for the cleanest solution.
Thanks!
Hey mickfollari,
I feel in a situation like this, in which you’re essentially creating a function the theme did not accommodate for out of the box, any solution will be a bit hacky. There may be a way to do this via jquery, but it would essentially be calling what you did via css.
Best regards,
Jordan Shannon
Thanks Jordan. This will work fine really. The only real cost is that the images are being loaded on the page and then not shown, which is a bit inefficient, but no biggie. Thanks.
Hi,
No problem at all my friend. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon