Problem:
Force Ajax pagination to scroll to a certain place on the page
Solution:
Add the Javascript below to your theme:
jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) { jQuery([document.documentElement, document.body]).animate({ scrollTop: jQuery(".js-wpv-loop-wrapper .tb-grid-column:nth-child(1)").offset().top }, 300); });
Change the selector in the code depending on your needs.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
This topic contains 2 replies, has 2 voices.
Last updated by Stephen Vaughan 2 years ago.
Assisted by: Christopher Amirian.