Collection Item Classes

hands up! :raised_hands:

I have a card slider that shows categorized products, in the buttons according to which you click you must filter and in the slide the cards will be shown according to the selected categories:

I want to filter by category, while doing research it said that a class with a name equal to the category to which the item belongs was added separately to each item, but when I tried to do so, the class when added is placed on all the items. Is there a way to relate the class to the category? Or better yet, is there a better way to do the filtering?



If you categories are a fixed list, you could just create a tab element with your 6 tabs, and a sliders inside of each.

If you’re trying to make the tabs and sliders CMS driven, you could try two approaches;

  • Finsweet CMS filter ( for the tabs ) + Finsweet CMS slider
  • Possibly Finsweet CMS tabs + Finsweet CMS sliders, though that’s more difficult to attribute correctly if you have a nested collection list