Hello
I am using the Broadcast Theme
www.thebodyshop.ca
datsau
I would like the mobile menu ( drawer) to open downwards one click and not horizontally
Thanks
Hello
I am using the Broadcast Theme
www.thebodyshop.ca
datsau
I would like the mobile menu ( drawer) to open downwards one click and not horizontally
Thanks
Hi @TBS2023 you’ll need to modify the theme’s CSS and JavaScript to change the menu behavior.
.mobile-menu {
position: absolute !important;
top: 100%; /* Pushes the menu below the header /
left: 0;
width: 100%;
display: none; / Hides the menu initially /
background-color: #fff; / Adjust as per theme */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.mobile-menu.open {
display: block !important; /* Show menu when active */
}
document.addEventListener(“DOMContentLoaded”, function () {
const menuToggle = document.querySelector(“.menu-toggle”);
const mobileMenu = document.querySelector(“.mobile-menu”);
if (menuToggle && mobileMenu) {
menuToggle.addEventListener(“click”, function (event) {
event.preventDefault();
mobileMenu.classList.toggle(“open”);
});
}
});
Let me know if these work for you.
Hey @TBS2023 ,
To make the mobile menu open downwards instead of sliding horizontally in the Broadcast theme, you’ll need to modify the theme’s JavaScript and CSS.
Follow these steps:
This script overrides the default drawer behavior to slide down instead of opening horizontally:
Would you like help adjusting the selectors to match your theme? Please feel free to reach out below.
Thanks & Best,
Rajat
none of these works unfortunately
off sitewide
July sale — 45% off at checkout, applied automatically. Valid for 60 minutes. One per customer.
Offer ends in