Aerolab/midnight.js

Hamburger menuToggle wrong position

janstieler opened this issue · 2 comments

Hi,

I have an button for an hamburger menu which is open an overlay menu.
I used this css code to position my hamburger menu:

.menuToggle {
    text-transform: uppercase;
    font-size: 2.1875rem;
    font-family: 'Qanelas Soft',sans-serif;
    position: fixed;
    top: 32px;
    right: 35px;
    text-align: right;
    z-index: 9999;
    width: 35px;
    cursor: pointer;
}

If I add now midnight.js it kill it completly.
First I have to ad an pixel based height on my button, which is not really necessary and breaks the posibillity to changethe height of my hamburger stripes.
After I have add this the completly hamburgermenu is on the left top corner and not there where I have positioned it through my css.

What I'm doing wrong?

It is a nice plugin but I have here a really easy positioned element and a plugin should not change the elements position.

Cheers

I am having the same exact issues right now.

I am having the exact same issue right now. +1