Support » Plugin: GC Testimonials » Pagination not jumping to top of page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • tgd

    (@terrydaisydesignsca)

    I’ve got the same problem on a site, currently in development at http://tripp.daisydesigns.ca/testimonials/. There are only 2 pages of testimonials, and clicking on the ‘2’ forces the page to scroll all the way to the bottom. I’ve been using this plugin on 3 other sites, with various plugins installed, with no issues at all. I’ve disabled some plugins that I suspected could be causing this, but no change. Any ideas?

    tgd

    (@terrydaisydesignsca)

    This still seems to be an issue. Any idea if it might have a fix, yet?

    Plugin Author devnz

    (@eringarscadden)

    For a temporary fix, open gc-testimonials/assets/js/quickpager.jquery.js and at around line 117, find this code

    //hide and show relevant links
    selector.children().hide();
    selector.find(".simplePagerPage"+clickedLink).show();

    and add this line underneath:

    $("html, body").animate({ scrollTop: "0px" });

    So it reads:

    //hide and show relevant links
    selector.children().hide();
    selector.find(".simplePagerPage"+clickedLink).show();
    $("html, body").animate({ scrollTop: "0px" });

    Let me know how that goes 🙂

    Plugin Author devnz

    (@eringarscadden)

    I have not heard back so am marking this as resolved.

    tgd

    (@terrydaisydesignsca)

    Sorry I didn’t get the message that this was posted. I’ll try it right away. I’m surprised this fix has not be applied to the latest version of the plugin. Thanks Erin.

    tgd

    (@terrydaisydesignsca)

    Perfect! Works like a charm.
    You should add that code to the next release, if it’s not there already.
    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pagination not jumping to top of page.’ is closed to new replies.