Class current-menu-item for blog and archive page at the same time
-
Hi @twentig.
I’m facing a problem with Twenty Twenty theme and Twentig and hope you can help.
On my site I added an archive page of a custom post type as well as the blog page to my main menu.
If I click on the menu item for the archive page this item as well as the blog page menu item get the classcurrent-menu-item
and both are underlined at the same time.
If I click the blog page link only the blog page item is getting the classcurrent-menu-item
and is underlined.
For testing I used only Twenty Twenty theme and Twentig plugin 1.0.3. Other plugins were disabled.
Can you reproduce this on your site?
Do you have an idea how to fix this?
Thank you in advance!
- The topic ‘Class current-menu-item for blog and archive page at the same time’ is closed to new replies.