Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #587241

    Hi team!
    I’m trying to set independent galleries in a page that each one, with a link, starts a lightbox with specific images.
    See page
    The problem is that lightbox plays all the images in the page, not only the specific I want. (make click in “VER GALERIA>”)
    I’ve tried with rel=”lightbox[gallery1]” and with data-rel=”gallery-1″ but it’s seems that I am groping in the dark because it stills doing the same.
    See page
    Does it works in any way or I’m trying to do the impossible?
    Do I need another plugin?

    Thanks in advance!!

    #587733

    Anyone?

    #588957

    Hi!

    Set a class of avia-gallery to the parent element of each Gallery.

    Best regards,
    Josue

    #589616

    Hi Josue,
    Thank you for your answer.
    With parent element of each gallery, you mean the parent of the link that opens the gallery?
    Regards!

    #589653

    Hm no, you’re using Gallery shortcode right? then do it like this:

    <div class='avia-gallery'>[gallery]</div>
    

    Regards,
    Josue

    #589659

    Sorry Josue, I think it’s not working because of the trigger link

    <a class="avia-gallery" style="text-align: left; color: #006953;" href="http://websyapps.es/nuevalescasotes/wp-content/uploads/2016/01/Masia-Les-Casotes-ideas-decoracion-02.jpg" rel="lightbox">VER GALERÍA ></a>
    <div class="avia-gallery">
        [gallery link="file" ids="977,976"]
    </div>

    because this only shows the link image in a lightbox, but not the gallery.
    Sorry for my ignorance and thanks for your help, I appreciated it too much

    #589665

    Hey!

    It’s working as expected, Enfold’s popup activation recognizes each “avia-gallery” as a unique group, so if you want to merge both the trigger link and the actual gallery in a single group you’d need to change it:

    <div class="avia-gallery">
    	<a style="text-align: left; color: #006953;" href="http://websyapps.es/nuevalescasotes/wp-content/uploads/2016/01/Masia-Les-Casotes-ideas-decoracion-02.jpg" rel="lightbox">VER GALERÍA ></a>
        [gallery link="file" ids="977,976"]
    </div>

    Best regards,
    Josue

    #589674

    Oh yeah!!
    It worked fine!!!
    Thank you very very much, I had no idea of this
    Infinitamentte agradecido Josue!!
    Regards!!

    #589685

    De nada, un gusto poder ayudado.

    Saludos,
    Josue

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