Okay so I have a jQuery menu on this page here.
When you click on a parent (Bureau or Projecten) the child menue stays open at all the times even if you go: parent -> child -> child.
This does not work on: Bureau -> Publicaties -> "child" The menue closes.
I dont understand since I covered both "parent categories" (current-menu-item.parent and current-portfolio-ancestor) in the jQuery?
Any ideas?
$('.current-menu-item').parent('.sub-menu').css('visibility', 'visible');
$('.current-menu-item.parent, .current-portfolio-ancestor').find('.sub-menu').css('visibility', 'visible');
The whole jQuery code here