Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
This is an accepted solution.
Hello @TBS2023
Please follow the steps below after logging into the Shopify admin:
<script>
let button = document.querySelector(".header__mobile__hamburger");
let target = document.querySelector("header-drawer.drawer");
button.addEventListener("click", function()
{
target.classList.add("is-open", "drawer--animated");
});
</script>
Please hit Like and Mark it as a Solution if you find our reply helpful.
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Shopify Development Agency | Call: 877.536.3789
Canada: 150 King St W. STE 200, Toronto, ON M5H 1J9
| USA: 98 Cutter Mill Rd. STE 466, Great Neck, NY 11021
This need to check in your theme file code. I guess somehow a app coding conflicting with it.
Hi @TBS2023
You should contact Broadcast Theme's support so they can help you with the issue.
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hello @TBS2023
Please follow the steps below after logging into the Shopify admin:
<script>
let button = document.querySelector(".header__mobile__hamburger");
let target = document.querySelector("header-drawer.drawer");
button.addEventListener("click", function()
{
target.classList.add("is-open", "drawer--animated");
});
</script>
Please hit Like and Mark it as a Solution if you find our reply helpful.
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Shopify Development Agency | Call: 877.536.3789
Canada: 150 King St W. STE 200, Toronto, ON M5H 1J9
| USA: 98 Cutter Mill Rd. STE 466, Great Neck, NY 11021
You have 2 problems:
1. Your header section HTML structure is modified:
Yours:
From the demo store, same theme version:
See how you theme has div, while demo store has header-component? Because of this, some theme Javascript does not work and your mobile menu is not initialized.
2. Even with this fixed, you have some CSS added by the Giraffly Trust badges app (https://apps.shopify.com/trust-badge-by-giraffly) which overrides some styles used by your theme code to show drawers for menu and cart. Have you noticed that when you add to cart, the screen gets darker but no popup is shown, while it should look like this:
Someone needs to have a look at your theme header, also worth contacting the App support and complain about incompatibility.