Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #175325

    I have 6 menu items. 2 of them have a single page submenu item.

    What’s the best way to make the submenu name stay visible and specify a different highlight color for both the main menu item and the submenu item when I’m on that particular page?

    #175468

    Hi pmconsulting!

    Can you please give us a link to the website?

    You can add this on your custom.css or Quick CSS:

    .current_page_ancestor.active-parent-item > a {
    color: red;
    }

    This is for the current submenu item:

    .current_page_ancestor.active-parent-item > .sub-menu .current-menu-item a {
    color: red !important;
    }

    Regards,
    Ismael

    #175479

    Site is tg.bongo.cc

    I have the colors figured out – but I have 2 remaining problems.

    1) the 1st 3 main menu choices all have a single sub menu item, each linking to a page. Main menu items also link to pages. Client wants the submenu items to remain visible on respective pages and …

    2) client wants the main menu item to remain active color (orange) when on the sub menu page.

    I know – the pages don’t make any sense to me either – they just want orange for the active menu, which I’ve got working, the sub menu choice to stay visible when it’s on that particular page ( so, for example, PRECISION MEDICINE and it’s sub-menu item; KIDNEY GRAFT STATUS would both be orange and KIDNEY GRAFT STATUS would remain visible after mouse-out.

    Great theme!

    #176097

    Does anyone know how to do this?

    #176506

    Hi!

    Number 1 is not doable. The sub menu items do not remain visible; only the 1st level menu items are visible on all pages in the navigation.

    I don’t understand #2, the active color for a menu item is set with the css ismael provided above so the value would just need to be changed to the orange color you want.

    Regards,
    Devin

    #176561

    Personally, I think it’s crazy to want the sub menu box to remain visible.

    Menus are intended to convey control, but when they act strange – like this client is requesting, it defeats the purpose.

    Regarding item #2 – the active color, they wanted both the parent and child page links to display as active. Again, this is bad because they can only be on a single page at a time, so it makes no sense to highlight a parent link when you’re not on that page.

    I turned on the crumb trail and did some editing to make it match the menu colors & I think they’re going to be happy with that, rather then having me undermine a perfectly functional menu system.

    Thanks for the response!

    #178469

    Glad we could help. Let us know if you have any other questions or issues.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Enfold menu question’ is closed to new replies.