I want to know how can I hide a certain class when another class is active,
The concept is surely clear but I am unable to code it.
So what I want to do basically is :
when class XYZ is active I want to hide class ABC.
oblige
basically, you'll see the script checking for a class (this will be your active class), if it finds it, it will change the class (here you can add whatever other class) of whatever element you want. Hope it makes sense
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.