Hi,
Sorry, but there’s not much we can do to change that, there’s no support for current categories, only current page items. Theme by itself would not “highlight” categories either way 🙂
Thanks,
Emil
Thread Starter
Pascal
(@pascal-piller)
Ok, thank you anyway.
Pascal
Thread Starter
Pascal
(@pascal-piller)
Hello Emil
I found a part-solution of my tinyNav problem. I changed jQuery settings in “js/responsive-plugins.js” in line 21. I simply changed the active class “current_page_item” into “current-menu-item”. Now tinyNav keeps my category items and subcategory items .
Unfortunatly I can’t define more than one active class. I would add “current-post-ancestor”, when no “current-menu-item” class exists …
Pascal
Hi,
current_page_item should work both for standard and custom menus because it is included along the size of current-menu-item. Here is an example:
menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1950
However, when category is used in custom menus current_page_item would not apply:
menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item menu-item-713
You can add your custom JS via Child Theme, modify what you changed above and also add a second JS for categories I believe.
Thanks,
Emil