Answer the question
In order to leave comments, you need to log in
How to open mmenu on top of main content?
Good afternoon!
Connected mmenu. But when opening the menu, the menu pushes the main content to the left, and I want it to open on top.
I rummaged through the menu settings, but I didn’t find it.
The connection code
$('#catalog-menu').mmenu({
offCanvas: {
position: "left",
zposition: "front"
},
"extensions": [
"pagedim-black"
],
navbar: {
title: "Категорії товарів"
},
});
var API = $('#catalog-menu').data( "mmenu" );
$('.catalog-mob-link').click(function() {
API.open();
});
$('#my-button').click(function() {
API.close();
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question