Menu hamburger icon dropping below logo on mobile

Hello,

Would there be a way to resize the logo, so that when one views the website on a iPhone SE for instance, that the menu button doesn’t fall to the next line, so that the logo resizes and the menu button stays in right corner always?

When I view in the different mobile modes on my computer, it would appear this is happening. However, when I view the site on my phone (iPhone SE) the menu button has dropped to the line below the logo.

I have not been able to find a solution. Thanks for your help!

Hi there,

Please add this code in X > Theme Options > CSS:

@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;
    }
}

Here are some related links of the suggestions above for further reading:

Hope this helps.

1 Like

Thank you!! That solves the problem, but seems to creates another…See Screenshot Here

I’ve since removed the code, after I saw this.

What are your thoughts?

Hi there,

Please try this instead:

@media (max-width: 480px) {
    .x-brand {
        width: 70%;
        display: inline-block;
    }

    .x-navbar-inner .x-container .x-btn-navbar {
        width: 16%;
        float: right;
    }
}

Hope this helps.

Thank you JADE! Brilliant!

You are most welcome. :slight_smile:

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