CMS Load- Paginate on desktop and infinite scroll on mobile

Hi,

Is it possible to have collection items paginate on desktop and infinite scroll on mobile? I’m using CMS Load.

Hey @claudine! I’m afraid this is not possible as you can only have fs-cmsload-mode once per CMS Collection. You could however add a second collection list only visible for mobile breakpoints and add a CMS Load instance set to infinite.

The only issue is the repetition of content on the same page :confused:

Ok, I don’t know how I could do that because I’m using filters on the collection and they won’t work on a different one (if I created one for mobile).

Or is there a way around that?

If not, which CMS load would you recommend using?

@claudine You could also have a different filter setup.

However, I think my original answer may not be completely correct. We may be able to change the value of the fs-cmsload-mode attribute depending on the breakpoint and then initialize the whole Attribute.

Could you share a live link?