Keep menu hamburger on same line as logo in logo but menu disappears

Hello,

In mobile, trying to make the menu hamburger icon not drop to next line underneath logo, I added the following code. It appears to work, however when one toggles the menu, the menu items are off screen and look funky! Please help!

I added this code from another forum thread:

    @media (max-width: 480px) {
    .x-navbar-inner .x-container {
        display: flex;
        flex-flow: row;
        justify-content: space-around;
    }

    .x-navbar-inner .x-container .x-btn-navbar {
        margin-left: 15px;
    }
}

Hello Heather,

Thanks for writing in!

To resolve your issue, please remove your custom code first. You will need to replace it with this code instead:

@media(max-width: 767px){
    .x-brand img {
        max-width: 200px;
        height: auto;
    }
}

This code will set a maximum width for your image so that the menu will not fall down to the next column. This should give you this kind of look:

Hope this helps.

You all really are rockstars! T H A N K Y O U!

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.