I tried do find a solution for showing active submenu entries the same way they are shown in the main menu (blue, underlined). I tried different codes from the forum but none worked so far. Please find an example of a page with submenu under the link below.
Thanks for your help!
Hey JBley,
We would need to have a way to access the web site :)
Best regards,
Basilis
Sorry :+) I created a user for you, see private content.
I already achieved a change of color and underline, but I would like to give the whole li a blue background. The CSS looks like this at the moment:
#top .av-subnav-menu .current-menu-item > a {
color: #0071b9!important;
text-decoration: underline;
}
#top .av-subnav-menu .current-menu-item > li {background: #0071b9;}
The last CSS doesn’t work.
And I have a problem with the active menu entries in both main and submenu. For example when I choose “Ladenbau” “Einzelhandel” the entry “Branchen” is active, but when I choose “Leistungen” Ladenbau is not shown as active any more. Or if I choose “Mode” from “Branchen” than “Branchen” is not highlighted any more…
Hi JBley,
Can you try using this css code:
#top .sub-menu .current-menu-item > a {
background: #0071b9;
color: white !important;
}
Hope it helps.
Best regards,
Nikko
That does not work as the blue area is to small and only around the word. I can change the background for the whole li, but I can’t change it for ACTIVE menu item. The same problem appears when I use coloured button instead of default style for the submenu.
Any other idea?
Hi JBley,
This is what the code I gave should display:
Can you give us a mockup or screenshot of what you’re trying to achieve?
Best regards,
Nikko