Support » Plugin: Max Mega Menu » Highlight top parent item for child archive page

  • Resolved koolmind

    (@koolmind)


    Hi there.
    Plugin works fine if pages are really children of the top level page.
    But I cannot highlight the top parent page if there’s not a real relationship.
    Let’s say that I have a menu item called “News” and I have an archive page called “Press” that shows all the “press_post” elements (a custom post type, of course).

    Once I click on Press, the top level page is no more highlighted! šŸ™

    I’m trying to figure out a solution overriding the Walker class of Max Mega Menu plugin, but I cannot find a way to write something like “if current page (Press) is shown inside a menu widget that is part of the top level item (News), then add a special class”.

    Is that possible?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Highlight top parent item for child archive page’ is closed to new replies.