Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I have added these two CSS codes to component-menu-drawer.css, and they aren’t working.
They should work so I’m a little confused.
.menu-drawer__navigation .list-menu li:nth-child(5) a .menu-drawer__menu-item--active {
color: #43cac9!important;
}
.menu-drawer__navigation .list-menu li:nth-child(6) a .menu-drawer__menu-item--active {
color: red!important;
}
Solved! Go to the solution
This is an accepted solution.
Hi @Jiozx,
Please change code:
.menu-drawer__navigation .list-menu li:nth-child(5) a.menu-drawer__menu-item--active {
color: #43cac9!important;
}
.menu-drawer__navigation .list-menu li:nth-child(6) a.menu-drawer__menu-item--active {
color: red!important;
}
Hope it helps!
@Litos it’s not fixed no. It works on my laptop, but not on mobile. The “retro” inactive colour is a shade of purple. It should switch to a shade of blue when active.
This is an accepted solution.
Hi @Jiozx,
Please change code:
.menu-drawer__navigation .list-menu li:nth-child(5) a.menu-drawer__menu-item--active {
color: #43cac9!important;
}
.menu-drawer__navigation .list-menu li:nth-child(6) a.menu-drawer__menu-item--active {
color: red!important;
}
Hope it helps!
@Litos thank you
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024