Site logo

Archived topic

Getting my logo to the center on mobile/Desktop

5 replies · Started by Heath on March 5, 2023

Viewing posts 1–6 of 6

For some reason I can't figure out how to get my logo to be center on desktop and mobile.

I'd like for the logo to be in the center with the menu icon on the right and the search icon on the left.

Hi Heath,

You have too many menu items for such a layout. Would you be open to having a hamburger button for the menu on all views?

Yes I would be ok with that.

I've updated the mobile breakpoint

Great.

Can you try adding this through Appearance > Customize > Additional CSS?:

.inside-header.grid-container .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav#mobile-menu-control-wrapper {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

nav#mobile-menu-control-wrapper .menu-toggle{
    margin-left: auto;
    flex-grow:0;
}
This archived topic is closed to new replies.