Hi, the mobile hamburger menu has several grayed out buttons.
I only want the section i’m at to be grayed out.
Anyone has a solution?
How i want it to look
How it looks now
Hi,
Add below css in base.css file
.menu-drawer__menu-item--active {
background: none !important;
}
nav.menu-drawer__navigation ul li:nth-child(2) {
background: red;
}
Change red with your color.
Thanks
Hit Like and Accept as Solution.
On hover property can’t work on the Mobile Devices.
Thank you.
Hello,
".menu-drawer__menu-item–active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover "
Search this class in your Online Store->Theme->Edit code->Assets->component-menu-drawe.scss.liquid file
and replace this class n your Online Store->Theme->Edit code->Assets->component-menu-drawe.scss.liquid file
.menu-drawer__menu-item--active:hover, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
color: rgb(var(--color-foreground));
background-color: rgba(var(--color-foreground),.04);
}
That is only for number 2 in the mobile menu, can i not have it so it’s gray on the one i’m at currently? So when i change to another tab that is grayed instead.
This was a working solution, not like i thought.
But trying this out, it actually looks better! Thank you ![]()