I'm trying to target my parent menu item through only 1 of my submenu items. The thing is, I only know how to target classes IN classes, not backwards. And I only want to target this parent through 1 of the submenus, not all of them.
The reason: I have a sub menu item that is visible in more than one parent menu. When this sub page is active "lid worden", all the parents become active. So you will never know in what main menu you are as a visitor. For this single page, I want to turn off the active style of the parent. I already gave this single sub menu item a different class (.menu-lidworden). So the css must be something like this
.sub-menu.menu-lidworden.current_page_item --> .current-menu-parent
{ font-weight:normal etc... some other styles;}
I made 2 printscreens since the website is still under construction and offline.
https://dekeienatletiek.nl/hanneke/main-menu.png
https://dekeienatletiek.nl/hanneke/main-menu-html.png
As you can see, the menu "lid worden" is in the parent "nieuws & uitslagen" but also in "over the keien". In the future it will be in almost all the parents. As I explained before, all of them will be active because of this. And I dont want that.
Hope somebody can help me with this. Thank you in advance