Page with ‘product’ in permalink is active in nav when in shop page
-
When I am in the shop page of my website, the shop link in the navigation is given the css class ‘current-menu-item’. The problem is that any page with the word ‘product’ in the permalink is also given the class ‘current-menu-item’ in the navigation along with the shop page. This results in two links in the navigation having the ‘current-menu-item’ class. This class changes the color of the link in the navigation and functions similar to the ‘:active’ pseudo-class in css. This only happens when I am in the shop page of my website. I’m not sure if this issue is caused by WordPress or by the theme I bought.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Page with ‘product’ in permalink is active in nav when in shop page’ is closed to new replies.