CMS Pagination – "Next" jumps to hero instead of staying in section

Hi everyone,

I’m working on a testimonial section using a CMS collection list with pagination and custom “Next” / “Previous” buttons. Everything works technically, but there’s a strange behavior:

Whenever I click on “Next”, the page jumps back to the top (hero section) – instead of staying smoothly in the Testimonials section.

I already removed any IDs from the section/divs and tried wrapping the pagination inside different containers, but the issue remains. I’d like the user to stay in the section and just see the new testimonial entry – without the page jumping.

Has anyone experienced this? Any idea how to prevent this scroll jump?

Thanks in advance!

That jump happens because Webflow’s pagination reloads the page by default. Easiest fix is adding a small custom script to prevent anchor scrolling, or convert the pagination to AJAX with w-pagination-wrapper. Had to do this on a testimonial slider,AJAX keeps the section in view.