I am using Dawn theme.
I have used the following css in base.css to replace the menu with the hamburger menu on the desktop.
@media screen and (min-width: 990px){
.header:not(.header–middle-left) .header__inline-menu { display: none !important;}
header-drawer {display: block !important;}
}
However, I would like to have a hamburger menu to show the right side of the cart icon.
What do I have to add to make this happen?
Thank you for your help
Hello @TorontoDesign
It’s GemPages support team and glad to support you today.
I checked, your code won’t hide the main menu if the client chooses setting ‘Desktop logo position’
: ‘middle left’
You can try with the following code:
@media screen and (min-width: 990px){
.header > .header__inline-menu { display: none !important;}
header-drawer {display: block !important;}
}
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Thank you so much. I was able to move logo to left and turn menu into hamburger menu.
However, hamburger menu is showing in new line under the logo.
How do I move hamburger menu to in-line with logo but to the very right (right side of cart icon)
Thank you.
@TorontoDesign
You can try with the following code:
@media screen and (min-width: 990px){
.header > .header__inline-menu { display: none !important;}
header-drawer {display: block !important;}
body .header.header--middle-left{
grid-template-columns: 1fr auto auto;
}
}