I am using the following code within a sticky topbar to create a mobile bar menu
<div style="flex-grow: 1;
flex-basis: 0;"><a class="button mobbar slideout-toggle custom-slideout-toggle icon-menu" href="#">Menu</a></div>
If I only allow Off Canvas menu for mobile it stops working. It works if OC menu is activated site wide, however I do not wish for the canvas menu to be available on desktop, nor it js files to be called.
How can I successfully use the slideout toggle on this setup for mobile/tablet alone?
Thanks