Site logo

Archived topic

Center Mobile Logo

9 replies · Started by Tim on January 27, 2023

Viewing posts 1–10 of 10

I'd like to center the mobile logo and have the hamburger menu above by the logo. I've tried doing this from recent forums but that code sin't working.

Hi Tim,

I’d like to center the mobile logo and have the hamburger menu above by the logo.

What about the phone number button?

It doesn't look like there is enough space for the phone number, logo and menu toggle to be in one line.

I'd like the logo left, then hamburger menu to the right of that then the button centered under both of them.

Logo Centered. Button centered under. then hamburger centered under that would work too if that's easier.

Can you try this CSS first?

@media (max-width: 768px) {
    .main-navigation.has-branding:not(.grid-container) .inside-navigation:not(.grid-container) .navigation-branding {
        margin-left: auto;
    }
    .main-navigation .menu-bar-items {
        width: 100%;
        justify-content: center;
    }
    .main-navigation.has-branding .menu-toggle {
        margin-left: auto;
        margin-right: auto;
    }
}

Doesn't quite work. take a look.

Hmm.. THat did what I wanted but didn't look great.

Can I get that call button in the slide out menu. Then have the logo and the hambuger to the right of the logo? Can we remove "Menu" so it's just the 3 lines?

This archived topic is closed to new replies.