Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

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 🙂

    Chris Lambert
    #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.
    Chris Lambert
    #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)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.