I added the masonry.js code to my page but I’m trying to have it affect different collections on my page.
Basically I have tabs with collections in them that are the same except for a filter. Right now when my page loads, the code only affects the elements in the list with the “video” filter.
I’ve tried giving each collection a different class, and changing the class in the js snippet, but I probably did this wrong since I’m not very experienced with js.