Skip to content

Hamburger menuToggle wrong position #60

@janstieler

Description

@janstieler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions