Hamburger Menu Issues ( Shopify Dawn Theme )

Hamburger Menu Issues ( Shopify Dawn Theme )

dreamtechzone_5
Shopify Partner
676 1 100

Hello Everyone!
Someone helped me fix the menu. He did a great job. But I see some problems with the menu. When I click on hamburger menu first time it shows fine but when I click on hamburger menu second time the submenu doesn't show. Another thing is that below mega menu it shows social icon, language, currency. I don't want to show it in mega menu in desktop mode. Only in mobile mode will social icon, language, currency show. Also, can it take up like 40% or 60% of the screen instead of 100%? 
Please help me. Thank you.

 

Store: https://blue-chic-clothes.myshopify.com/

Password: Admin

 

I don't want to show social icon, currency, language in desktop mode.

 

BLUE-CHIC-CLOTHES-HOME-05-07-2025_11_24_PM.png

 

40% or 60% of the screen instead of 100%?

 

 

Screenshot 2025-05-07 at 11.12.36 AM.jpg

Reply 1 (1)

Small_Task_Help
Shopify Partner
1054 45 102

Hi,

Hope this will help

- For problem 1 Find code that handles mobile menu toggle.

Replace the code (example) with this

const menuToggle = document.querySelector('.header__menu-toggle');
const menu = document.querySelector('.header__menu');

menuToggle.addEventListener('click', function () {
  if (menu.classList.contains('open')) {
    menu.classList.remove('open');
  } else {
    menu.classList.add('open');
  }
});

- For problem 2 add CSS in css file

CSS example

.mobile-only {
  display: none;
}

@media screen and (max-width: 749px) {
  .mobile-only {
    display: block;
  }
}
To Get Shopify Experts Help, Click Here or E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert India
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad