Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hamburger menuToggle wrong position #60

Open
janstieler opened this issue Oct 5, 2017 · 2 comments
Open

Hamburger menuToggle wrong position #60

janstieler opened this issue Oct 5, 2017 · 2 comments

Comments

@janstieler
Copy link

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
Copy link

I am having the same exact issues right now.

@vitordesouza
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants