Changing the style of the mobile hamburger menu

Hi! I would like to change the Hamburger menu style on mobile to look like the one below. Does anyone know how to do this? I’d like the highlight to be blue.

What’s your store url ?

and what’s the pass to view the store ?

deirah

Go to your online store → Customize → Settings → Custom Css and paste this code there

.menu-drawer__menu-item–active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
background-color: #00416A !important;

}

That worked! Thank you so much. Can you help me add divider lines between each button and change the arrows to the ones in the example picture?

Hi @Katielabernathy

We can add the lines between in your Menu drawer but the arrow that you like, that needs additional codes that requires developer.

Okay, I’m fine with just adding the lines. Can you guide me through it? Thank you!

Paste this code in the custom css section

.menu-drawer summary.menu-drawer__menu-item {
border-bottom: 1px solid;

}

That worked! Thank you very much!

Yes, Sure.

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width:990px){
nav.menu-drawer__navigation li {
    border-bottom: 1px solid black;
}
details#Details-menu-drawer-menu-item-1 {
    border-top: 1px solid black;
    background: lightpink;
}
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hello,
I would like to know how can i change the Hamburger Menu on Mobile and Desktop so when people are opening the categories, it just goes bellow and they can still see the rest of it, like the example bellow.

Thank you in advance.

Hi, Did you get a solution to this?

Not really. Do you know how?