H
H
HelenaS2018-03-01 15:36:19
css
HelenaS, 2018-03-01 15:36:19

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();
      });

Perhaps someone has already encountered such a problem?
Thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2018-03-01
@HelenaS

docks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question