I am trying to highlight 1st level menu item by adding ‘current-menu-item’ class using nav_menu_css_class filter based on actual page / article / post / etc.
For example, menu looks like this:
Publications -> Computers -> Article 123
So, once user enters “Article 123” page I would like to highlight “Publications” menu section. Is it possible?