Aerolab / midnight.js

Switch your nav's design on the fly
http://aerolab.github.io/midnight.js/
Other
3.67k stars 380 forks source link

Hamburger menuToggle wrong position #60

Open janstieler opened 7 years ago

janstieler commented 7 years ago

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

dennisregalado commented 5 years ago

I am having the same exact issues right now.

vitordesouza commented 4 years ago

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