Product page not highlighting in menu
-
WooCommerce latest version as of this posting.
I have the “Shop” item in my main navigation menu and it’s set to the WooCommerce “Product Archive / Shop Page”. This menu item highlights (active item) when I’m on any WooCommerce page, as it should. EXCEPT when on a single product, no menu item is highlighted as “active”.
The “Shop” menu highlights as active when on the Cart, Shop, Account, or any of the product categories. However, when viewing a single product, the “Shop” menu item is not highlighted (active) at all.
I’ve tried several stock themes, TwentyTwelve, TwentyThirteen, and TwentyFourteen just to rule out my child theme. They all behave the same.
So a stock installation of WooCommerce and a standard WordPress theme exhibits this buggy behavior. Either it’s some combination of settings (I cannot see how/where) or it’s a bug. Either way, this shouldn’t happen.
Until this issue is resolved, I am forced to implement a crude workaround, where I over-ride the single-product template, so I can use jQuery to apply the “active” CSS class to the “Shop” menu item. It works but I really don’t like that I have to do this.
- The topic ‘Product page not highlighting in menu’ is closed to new replies.