Okay, so I made an overlay menu in Bootstrap. Problem is, I’m trying to replace the .ion-drag
class with .ion-close
when the modal is open, and have it go back to .ion-drag
when the modal is closed. How do I do that in jQuery? Every solution on the internet doesn’t work so far.
My website: https://filthdemo.myshopify.com
2
Answers
Try this, keep only
.ion-drag
before opening modaladd these lines in
<head>
and change your
<header>
as