Streaming live at 10am (PST)

Configure Pagination Link to Scroll to Section Anchor

#1

When using pagination on a CMS collection there seems to be no way to configure the previous and next buttons to scroll back to the top of the section? Or is there?
Thanks


#2

Do you mean this?

#3

Hey thanks but nope, that sounds pretty wild, normally there is a simple option to configure the link right?, set it to scroll to a page section and done, when using pagination there is no options to configure the link, is it possible to add a custom attribute to say on click, yeah show the next collection item but scroll to the top of the section?

#4

There is a scrollto option but I’m not sure how it’s supposed to be used.

Edit:
This is the answer forrest gives to the same question you have:

Don’t think this will be an easy fix unfortunately.

#5

A pixel number value would change across different viewports so that would not work. Webflow is bit weird hey, not sure what I’ve got myself into here…Surely I’m just ignorant and there is a simple way to do it, I just hope someone can enlighten me…:crossed_fingers:t3:

#6

Can I bump this :point_up_2:

And ask if anyone got a solution? I don’t know how to write the code but I would of though its like; listen for a click on the pagination button and if clicked scroll to the top of the section…?

https://preview.webflow.com/preview/barber-industries?utm_source=barber-industries&preview=30604cd8b2bc5018dd6a9605bcaff0dc