Make sticky hamburger menu at the bottom of Shopify mobile | Dawn theme

Topic summary

A user wants to implement a sticky hamburger menu at the bottom of the mobile view for a Shopify store using the Dawn theme, sharing a reference image of the desired design.

Initial Attempts:

  • Another user provided CSS code targeting button.btn.site-nav__thumb-button with position: static, but this didn’t achieve the desired result.
  • A second CSS snippet was offered but also failed to work.

Current Solution:

  • A more comprehensive CSS approach was suggested, involving:
    • Positioning header-drawer as fixed at the bottom with specific styling (white background, rounded corners, centered)
    • Targeting mobile screens (max-width: 989px)
    • Code to be added to base.css file in the theme assets

Status:

  • The discussion remains ongoing as the original poster hasn’t confirmed whether the latest solution works.
  • One respondent noted this is a “complicated request” requiring multiple steps and recommended hiring a professional, while offering a display-only code as a reference.
  • The site is currently unpublished, making real-time testing challenging.
Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hello,

I have been seeing this hamburger menu design a lot lately for Shopify mobile and I would like to add this to a site I am customizing for a client. This is the desired result:

Thank you!

1 Like

hey @arahming123 share the URLs of your website plz

hello,

The website is not published at the moment

@media screen and (max-width: 767px) {
button.btn.site-nav__thumb-button.js-toggle-slide-nav {
    position: static !important;
 }
}

hey @arahming123 follow the following steps plz

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution

Hello,

That did not work for me. This is how the website is looking for mobile:

1 Like

try again plz with this one

Still no luck. This is where I am placing it:

Hi @arahming123 ,

It will be a complicated request and involve many steps, I recommend you hire a professional for it.

If just display, you can refer to the following code. Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

@media screen and (max-width: 989px) {
    header-drawer {
        position: fixed;
        bottom: 2rem;
        z-index: 999;
        background: #ffffff;
        width: 80%;
        border-radius: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
.menu-drawer-container {
    width: 100%;
    justify-content: center;
}
}