You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Navi to render 2 menus in the header - one is a submenu for various photo albums when the user selects Photographs in the main menu.
My problem is that although the submenu nav items are all child pages of the Photographs parent, this main menu item is never getting attributed as being an active ancestor.
When I build the menus with default classes, I can see that current-page-ancestor is in there, yet Navi is not picking that up when I visit my local URL http://mysite.test/photographs/nature
Here's the "Nature" nav item dump - active is correctly showing up
Here's the Photographs item dump - absolutely nothing to show it is part of the hierarchy - but look at the built-in classes - correctly showing current-page-ancestor
Thanks - I'll have a play with that - thanks for the pointer. I just wondered if it was a bug or just not part of what MenuBuilder is looking for when building the classes out
I'm using Navi to render 2 menus in the header - one is a submenu for various photo albums when the user selects Photographs in the main menu.
My problem is that although the submenu nav items are all child pages of the Photographs parent, this main menu item is never getting attributed as being an active ancestor.
When I build the menus with default classes, I can see that
current-page-ancestor
is in there, yet Navi is not picking that up when I visit my local URLhttp://mysite.test/photographs/nature
Here's the "Nature" nav item dump -
active
is correctly showing upHere's the Photographs item dump - absolutely nothing to show it is part of the hierarchy - but look at the built-in classes - correctly showing
current-page-ancestor
Is this a bug?
The text was updated successfully, but these errors were encountered: