Archived topic
Navigation menu items stay with hover color after being clicked
5 replies · Started by francesco on November 10, 2022
Viewing posts 1–6 of 6
is there a CSS to reproduce this? .. when I click in one of the submenu items then the primary item no longer reproduces the hoever effect, is it possible to always keep the hoever effect in the primary items?
Hi there,
can you share a link to where i can see the issue ?
done
Try this CSS:
.main-navigation .main-nav ul li[class*="current-menu-"]:hover > a {
color: var(--accent) !important;
background-color: #8ad6c1 !important;
}
thx david
You're welcome
This archived topic is closed to new replies.