Hi can you please make the main menu go all the way to the top, with the only thing showing being the logo. Thank you
Pass: biangu
Hi can you please make the main menu go all the way to the top, with the only thing showing being the logo. Thank you
Pass: biangu
hi, I don’t want the width to be full just the height, and I don’t mind the header don’t showing, but I would like the logo to show! Can we do that?
To achieve that, you’ll need to add the following code to your base.css or theme.css file. I hope you like the result!
@media (max-width: 749px) {
#menu-drawer {
z-index: -1;
top: 0% !important;
}
a.list-social__link.link {
color: white;
}
.header__icon--menu[aria-expanded=true]:before {
display: none !important;
}
.list-menu {
margin-top: 50px !important;
}
.menu-drawer__inner-submenu {
margin-top: 90px !important;
}
#link-collections {
overflow: hidden !important;
}
}
I’ve updated the code and fixed the error you mentioned. I also noticed a design flaw that was causing the dropdown menu not to reach the bottom on other mobile devices like the iPhone.
The TikTok logo was already there; all I did was give it a white color so that it stands out. I assume you can easily add the rest of the social media icons from the Shopify customizer. Pleasure helping out!
@media (max-width: 749px) {
#menu-drawer {
top: 0%!important;
height: 100vh !important;
z-index: 998 !important;
}
a.list-social__link.link {
color: white;
}
.header__icon--menu[aria-expanded=true]:before {
display: none !important;
}
.list-menu {
margin-top: 50px !important;
}
.menu-drawer__inner-submenu {
margin-top: 90px !important;
}
#link-collections {
overflow: hidden !important;
}
summary.header__icon.header__icon--menu.header__icon--summary.link.focus-inset {
z-index: 999;
}
img.header__heading-logo {
z-index: 999;
position: relative;
}
}
Hey @Spac-es , would it be possible to make this code applicable for desktop view as well as this only covers the header in the mobile view and not both. Would really appreciate it.
Thanks.