-
AuthorPosts
-
October 14, 2013 at 11:08 pm #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?
October 15, 2013 at 6:29 am #175468Hi 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,
IsmaelOctober 15, 2013 at 6:42 am #175479Site 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!
October 15, 2013 at 10:50 pm #176097Does anyone know how to do this?
October 16, 2013 at 4:46 pm #176506Hi!
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,
DevinOctober 16, 2013 at 6:35 pm #176561Personally, 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!
October 21, 2013 at 4:17 pm #178469Glad we could help. Let us know if you have any other questions or issues.
-
AuthorPosts
- The topic ‘Enfold menu question’ is closed to new replies.