Change color of active item in navigation menu including submenus
-
Like https://www.ads-software.com/support/topic/change-color-of-active-item-in-navigation-menu/ I try to get a highlighted menu item when I’m on the corresponding page.
I edited the css the following:.wp-block-navigation-item.current-menu-item.wp-block-navigation-link a{ text-decoration: underline; text-decoration-style: solid; text-decoration-color: #f6f6f6; color: #f6f6f6; background-color: #c27113; }
It works on the menu items “Storch-Watching – Das Projekt” and “Storch Live”. On submenus it behaves different. In the first submenu “Wittgensdorfer St?rche” it works except “Wittgensdorfer St?rche” itself and in the second submenu “Bildungsangebote” it doesn’t work at all.
I don’t need it to work on the home button “St?rche in Chemnitz-Wittgensdorf”.Thanks in advance.
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change color of active item in navigation menu including submenus’ is closed to new replies.