I have a problem with menu organization. I have a Pages with url "pressroom" and have a Category with the same name. I want to make it a one menu item.
Pressroom (sitename.com/pressroom/)
- page 1
(sitename.com/pressroom/page1/)
- page 2
(sitename.com/pressroom/page2/)
- category with posts
(sitename.com/category/pressroom/news/)
When I am in Category - nav_menu parent item have a correct css selector current-menu-ancestor current-menu-parent
, but when I am go to post of this category (url changed to sitename.com/pressroom/news/postid/
) - css selector of parent menu item disappear.
How can I correct this?