How can I code a selected filter on a collection page?

Shopify Partner
3 0 0

Hello! Does anyone how to code: if filter is selected? E.g. if any filter on collection page is selected, then do this. Image below of what I mean:




I've tried: if collection.current_tags, but doesn't seem to work. 


Replies 0 (0)