Elementor Pro | Video Lightbox issue

Forums › Forums › Search & Filter Pro › Elementor Pro | Video Lightbox issue

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #237156

    Hi. Using SF Pro, selecting a paramenter, Posts get resorted – so far, all good.

    When clicking the video lightbox link within one of the posts, the lightbox content gets awkwardly pushed out of the frame.

    I´m not a programmer. Any idea how to fix that? Many Thanks, Laurentius

    Trevor
    #237158

    Are you able to send me a live link/URL to your search page so I can take a look?

    Does this happen only after you make a search (i.e. is it OK before you make a search)?

    Can you detail the steps I need to take to see the issue?

    Is there an alternative page on your site where I can see what it should look/function like?

    Anonymous
    #237159
    This reply has been marked as private.
    Trevor
    #237161

    Ah.

    The process goes like this.

    Page Loaded, triggers a JavaScript event document.ready and then the Lightbox JavaScript will search the completed page for elements with a given property. Often this is a CSS classname. It then applies the Lightbox to whatever is in that element.

    But, when Ajax refreshes part of the page, that does not trigger that Lightbox JavaScript to do its thing, so the elements are now broken.

    Our plugin sends a JavaScript event out to any listening JavaScript, so this is how you fix it. You will likely need the help of the author of the Lightbox plugin, who will need to supply you with what goes in the gap in this script (which you need to place on the page):

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        // call the Lightbox function here
      });
    }(jQuery));</script>
    Anonymous
    #237162

    Many thanks for the prompt reply.

    Trevor
    #237168

    I will wait to hear from you.

Viewing 6 posts – 1 through 6 (of 6 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.