Moved: Reply To: Search & Filter Pro on Woocommerce doesn't affect the loop

Forums › Forums › Search & Filter Pro › Moved: Reply To: Search & Filter Pro on Woocommerce doesn't affect the loop

Viewing 6 posts – 11 through 16 (of 16 total)
  • Ross Moderator
    #2713

    Hey Chris do you mean when AJAX has completed you would like the page to scroll to the top automatically?

    In this case its quite simple you just need to add some JS to your theme:

    $(".searchandfilter").on("sf:ajaxfinish",function(){
        $("html, body").animate({ scrollTop: 0 }, "slow");
    });

    Let me know 🙂

    Anonymous
    #2719

    Ross,

    yes that is what I mean but I am not sure how and where to put it. Should I create a new JS file, add it to an existing one or can I do something with functions? Not very clever with JS.

    Thanks

    Ross Moderator
    #2790
    This reply has been marked as private.
    Anonymous
    #4181

    Thanks for your help on this, but it didn’t work.

    Super search is a separate search function at the top of the page and not to do with the standard search. This might be the issue.

    Ross Moderator
    #4310
    This reply has been marked as private.
    Ross Moderator
    #4385
    This reply has been marked as private.
Viewing 6 posts – 11 through 16 (of 16 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.