Hey there folks,
I have a question related to the different possibilities of using CSS-Classes to style your menu.
I would like to achieve the following:
Home – Products (submenus: cat 1, cat 2….)
When open cat 1 Products AND cat 1 should be in a different color.
I tried to adapt https://kriesi.at/support/topic/active-menu-submenu-items/ for my problem, but it seems to be not the correct solution for this case.
Looking forward to your reply!
Hi Funk86,
Thanks for giving us the link, however, I could not find the menu/menu items you were pointing out.
You can utilize the current-menu-item class for the current page also if it’s a sub item, to target the parent you can use the current-menu-parent or current-menu-ancestor class.
I hope this helps.
Best regards,
Nikko