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

cty467
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:

 

cty467_0-1707959147330.png

 

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

 

Replies 0 (0)