Closed Toutouwai closed 5 years ago
Thanks, finally I could also see it (one submenu item was always shown which was a custom AOS NavItem).
I haven't used your code but this CSS:
html.aos ul.pw-dropdown-menu.prnav:empty {
display: none !important;
}
Thanks!
I use the RestrictTreeDropdown option on all my sites, but have just noticed that if a role does not have any of the following...
...then an empty dropdown under Pages occurs:
Possible fix
So if there are no other sibling
li
s then the parentul
is hidden. Theul
can't be removed from the DOM unfortunately because then jQueryUI packs a sad.