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

Highlight parent categoru in menu

Home / Forums / Ascend Theme / Highlight parent categoru in menu

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
November 25, 2018 at 3:52 pm

Hi Kadence Team,

i’m trying to highlight the parent categories in the menu when single post page OR child category is viewed.

I found that there are some selectors (like: menu-item-object-category current-post-ancestor current-menu-parent current-post-parent) and i tried them out without luck.

You can see on the test site what i mean: the first item in the main menu is the parent, the first item in the secondary menu is the child category and below is the post that is set to both categories. Now the first items in both menus should be highlighted.

Thank you,
B. Anders

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