Is there any way to disable and then re-enable the Hover state effects? I think jQuery can use removeClass() and addClass(), but I’m not sure how that integrates with webflow’s classes. I defined the Hover effect in Webflow. The only effect is a change in fill color (from gray to blue).
I have a button that I’m disabling until I get a response from my server. During that time, I was hoping to disable the hover effect (the text says processing, and the button won’t work, but it looks cleaner if it doesn’t light up on hover).
I tried embedding
$('#my-button').removeClass("Hover"); but that didn’t work . Do I just have the wrong class name? Any ideas?