How to make hamburger menu in brooklyn theme

Hey I’m wanting to change my current menu format (which is pictured below) to a small hamburger menu in the corner, if someone can guide me with the coding it would be greatly appreciated.

I’ve attached also i photo of what i want too (the first photo).

@ZestardTech @JHKCreate

@AvadaCommerce

@heleneathana

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

hey! thank u so much my the url is featherandthread.com.au

and the p is WMammaquilla03$

thanks again :slightly_smiling_face:

@heleneathana

do you have like this

hey! sorry for the late reply but yes like that without the old menu on the right

@heleneathana

yes i can be done some customization code

okay cool, what do I put in the edit code to get the hamburger menu?

great

your final look like this ?

please share your header code

yea perfect! whats the header code?

@heleneathana

thanks for confirm it can be done custom code

what do I need to do?

@heleneathana

yes, please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.
.grid__item.large--hide.large--one-sixth.one-quarter {
    display: inline-block !important;
}

.grid__item.large--hide.one-quarter {
    display: inline-block !important;
}

nav.grid__item.large--two-thirds.large--text-right.medium-down--hide {
    display: none;
}

.site-nav--open.site-nav--mobile.site-nav--init {
    display: inline-block !important;
}
h1.site-header__logo.large--left {
    text-align: center;
    display: inline-block;
    width: 100%;
}
.grid__item.large--one-third.medium-down--one-half {
    width: 90%;
}

thank you so much! it worked! however are we able to change the menu to a white background with black text?

@heleneathana

yes, please add this code

.drawer--left {background: #ffffff;}

.mobile-nav__item a, .mobile-nav__toggle button {
    color: #000 !important;
}

.mobile-nav > .mobile-nav__item {
    background: #fff;
}

also are you able to remove the privacy, refund, shipping policies and terms of service, about us and contact u? or explain how i can?

@heleneathana

yes, please share header code also please add this code issue on click + sign

.mobile-nav__item a:active, .mobile-nav__item a:focus, .mobile-nav__toggle button:active, .mobile-nav__toggle button:focus {
    background: #fff;
}

Thanks! I was wondering can we get rid of the lines between the sub categories? between SHOP, CLOTHING, ARCHIVES but the rest can there be no line?

@heleneathana

this is idea show sub categories for user do you need all same left line?

I like how the lines seperate the main categories but i just want to get rid of them between the sub categories.

Let me know if you can help and what I should put into the code section :slightly_smiling_face:

@heleneathana

can you please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.
.mobile-nav__item:after {border-bottom: 1px solid #c6c6c6;}