Hi I'm using an html5 off canvas menu that i got here ---> http://callmenick.com/_development/material-menu/
In the css the hamburger menu is set to be fixed at the top left of the page. I want to change that and be able to place the hamburger menu wherever I would like.
Now I have tried to remove the fixed position and the absolute position but that just collapsed the hamburger icon and made it one line instead of three.
Here is the html of the part I'm trying to fix.
.mm-menu-toggle {
position: fixed;
top: 12px;
left: 12px;
z-index: 20;
width: 24px;
height: 18px;
background: -webkit-linear-gradient(90deg, rgba(33, 33, 33, 0), rgba(33, 33, 33, 0) 7px, #212121 7px, #212121 11px, rgba(33, 33, 33, 0) 11px, rgba(33, 33, 33, 0) 18px);
background: linear-gradient(0deg, rgba(33, 33, 33, 0), rgba(33, 33, 33, 0) 7px, #212121 7px, #212121 11px, rgba(33, 33, 33, 0) 11px, rgba(33, 33, 33, 0) 18px);
font-size: 0;
}
.mm-menu-toggle::before,
.mm-menu-toggle::after {
position: absolute;
left: 0;
width: 100%;
height: 4px;
background-color: #212121;
content: "";
}
Does anyone have any idea as to how I can achieve being able to place the menu wherever I would like.
If you go to the link about there is a github link with all the files and css of the menu.
Here is an image of what I mean. The top is how the menu looks. But when I took position:fixed;
and position:absolute;
from the css the bottom picture is what was given.
How can I fix this.