TTechnicheWebFeb 11, 2021
Hi, it is easy to change main menu items to active colour by adding ".current" class.
But it doesn't work on sub menu items.
I just want the sub menu items to change to active colour too, what class should I add?
1 reply · opened Feb 11, 2021
Hi, it is easy to change main menu items to active colour by adding ".current" class.
But it doesn't work on sub menu items.
I just want the sub menu items to change to active colour too, what class should I add?
Hello,
You can simply consider using this CSS Code:
[ch_pre type="css"]@media (min-width: 992px) {
.sub-menu-container .menu-item.current > .menu-link {
background-color: #1ABC9C;
color: #FFF;
}
}[/ch_pre]
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard