have a menu that is pulled in like this:
<?php wp_nav_menu ( array('menu' => 'header') ) ?>
I am using WooCommerce and when visiting /shop the shop link in the header has the class: current_page_item
However, when viewing a single product the menu link has no active class.
This is also the case when viewing categories etc.
The link in the URL /shop/category/phone/ shows it has a parent of the shop page but no active states.
Is it possible to set WordPress to do this?