The pressed function for my filter button shows in preview mode but not in the published website


I’m facing issues with the filter buttons I’ve created. I have given them a different appearance “on the pressed” function. When I preview, I can see the button changing the color when you click it. But on the published site, it doesn’t change the color. I’m not sure what’s the issue. If anyone has any advise, it would really help. I’ve been trying to solve this since days now.

Here is my site Read-Only: [LINK][1]

And, Here is the published web page.