CMS list with "current page"

Hi there!

I’m trying to make a collection list item similar to Webflow’s University, with a list of pages from my CMS Collection that the user can click and display a “Current page” active state on the item beeing displayed. Something like the image below:

Thanks in advance!

Hello!

You can achieve this by having two identical collection lists on top of eachother. In the bottom one, filter out the “current item”. In the other, filter out all other items than the “current item”. You can style the latter with a border and “Current page” text. The item being displayed will always be at the top though.

A simpler solution than I tought it would be, thanks Fonsume!

1 Like