Streaming live at 10am (PST)

CMS filter by class with custom code

Hello all, I followed this finsweet tutorial On how to filter CMS Collection Lists by class. I want to limit the filter to the div block ‘states-text’, containing the text blocks ‘class’, in the CMS collection. However whenever I add the filterByClass to the custom code, the filters stop working. This is weher I got the custom code from:

Here is my site Read-Only:

If anyone could help it would be really appreciated!

Screenshot 2020-11-14 at 17.54.11