Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #444497

    How can I restrict the portfolio lightbox gallery to only show the filtered items? If a user chooses to use the filter option, it makes sense that the ensuing lightbox that appears only shows those filtered items.

    I tried to add this to the magnetic defaults but it did not work:
    delegate: ‘li:not(.isotope-hidden).item a’,
    Thank you in advance for any help with this!

    #445225

    Hi mmcgrat1!

    Thank you for using Enfold.

    Unfortunately, it’s not possible to filter the lightbox gallery in response to the category sort function. You may found a workaround but, I’m sorry to say, it’s not something we can provide here. Please hire a freelance developer or configure the magnific popup plugin. Refer to this link: http://dimsemenov.com/plugins/magnific-popup/

    Regards,
    Ismael

    #475327

    Hi Ismael,
    We modified the code a little and rebuilt the gallery using portfolio items that have defined custom links, linking to the image in the gallery….this is working great and once filtered, you can only click through the images in that portfolio category.

    However, the weird thing is that when the gallery first loads, and no sorting options have been clicked, the magnific pop-up looks correct with the avian/enfold theme css attached. But, when a sorting option is clicked, that css disappears and it defaults to the magnific css. Is there a reason the avian classes would be removed after sorting?

    #475775

    Hi!

    Glad you found a solution to this but how did you modify the code and on what files?

    Cheers!
    Ismael

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