Replies: 0
I tested the plugin on one site and it worked well. When I installed it on the site I was working on, it wasn’t working. The menu button is there and I can customize things, but the slideout doesn’t appear. Eventually I figured out that the .mob-menu-slideout-over class wasn’t in the body tag. If I added it in the inspector it works. If I put
document.body.classList.add("mob-menu-slideout-over");
in the JS box it breaks the whole thing.
However, if I put the javascript in the footer manually, everything works great. I’m just wondering if there’s a less hacky way to fix this.