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

    hello
    in portfolio grid, i have category fliter, and i choose to have lightbox when we click on a portfolio.when we are in lightbox, we can navigate, right or left staying in Lightbox mode and it’s ok for me.
    BUT..
    when we click on a category, 77 for example, and after we click on a portfolio we open the lignh box
    but we navigate in ALL portfolio (126 items), not in the 77 selection (10 items) we had on screen before …

    how i can play to change that ?

    #1378202

    Hey mediafacto,

    Thank you for the inquiry.

    Please note that the category sort will not be able to control or filter the items in the lightbox. All items in the page prior to sorting will still display in the lightbox container.

    Best regards,
    Ismael

    #1378389

    hello thanks for your answer.

    if we want to evolve the code to make it possible, in which file will have to intervene to modify this behavior by making our own code?
    To precisely modify the normal behavior and put the choice of the category on the display of the lightbox.
    my dev can do that but he doesn’t know where to intervene.

    #1378515

    Hi,

    Thank you for the update.

    The code for the portfolio sorting is in the config-templatebuilder\avia-shortcodes\portfolio\portfolio.php file, around line 1169 you will find the sort_buttons function. You may need to reinitialize the lightbox with a different configuration after any of the sorting filter is clicked. The theme is using the following popup script.

    // https://dimsemenov.com/plugins/magnific-popup/

    Best regards,
    Ismael

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