Hello there,
I am trying to give the main menu an active state when a post is being viewed but there are no classes appearing in the menu to indicate the hierarchy.
On the post listing page, we have the class .current-menu-item
, but no equivalent for the single post, such as .current-menu-item-child
.
This is the single page: https://leslieh7.sg-host.com/blog/break-it-down-how-hip-hop-exemplifies-the-principles-of-innovation/
How can we target the menu on a single post page?
Kind Regards,
Spencer