I've tried searching for an answer for this, but because I'm such a newbie to coding, I haven't been able to solve my problem, which is this:
I use WP menus and I have posts in different categories. When I view the category page that displays all the posts, the menu highlights the category correctly. But when I view a single post in a category, it does not highlight the menu item (by using "current-menu-item" in the class). So, my question is, how can I highlight the relevant category in the menu when viewing a single post that belongs to that category?
Thank you very much in advance!