Site logo

Archived topic

Move Hamburger for off canvas from right to left of logo

5 replies · Started by Dominic on January 9, 2022

Viewing posts 1–6 of 6

Sorry I'm sure this is simple, searched on forum but can't find.

I have the off canvas menu set (no primary menu at top, set to blank).
Currently the hamburger is far left, i'd like it to be far left, left of the logo.

Thanks!

Hi there,

can you share a link to your site that has the header setup with the off canvas burger to the right ? once i see the layout i can provide the necessary CSS

Thanks very much David.

The search icon is now between the hamburger and logo - I added the PHP snippet.

Any way to get the search icon to stay on the right?

Thanks!

Hi Dominic,

Any way to get the search icon to stay on the right?

Will this be for mobile only?

If yes, modify this custom CSS on your site -

.main-navigation .menu-bar-items, #mobile-header .menu-toggle {
    order: -1;
}

Wrap it on a @media rule so it only applies to desktop. (effectively exempting mobile)

@media (max-width:768px){
.main-navigation .menu-bar-items, #mobile-header .menu-toggle {
    order: -1;
}
}

Or remove it completely if you want the desktop to be on the right side as well.

This archived topic is closed to new replies.