Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Active state of submenu items?

Home / Forums / Kadence Theme / Active state of submenu items?

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
December 12, 2023 at 3:30 am

Hello,
I am having an issue where, in a sidebar widget menu, when a parent menu item is marked as active (current-menu-item), the sub-menu items are also marked as active by inheriting the selector “current-menu-item” that is set on the parent menu item. In my opinion this is not correct behavior. Since the selector is set on the parent and is inherited down to the children, I am unable to unset the selector with jquery.

You can see the behavior here:

Click on the arrow to expand the sub-menu and notice that all the sub-menu items are marked as active.

Best regards,
Jim Edwards

  • The forum ‘Kadence Theme’ is closed to new topics and replies.