Muiltiple menu items get highlighted
-
In the link I have given, when the blog page is displayed you can see that the “Blog” item in the top menu is highlighted (as you would expect), but also the “Club News” item is highlighted (which I wouldn’t expect).
The reason for this behaviour is that “Club News” has a lower level menu item that points to the blog page – it is the “Current News (blog page)” menu item that you can see if you hover over “Club News”.
When I temporarily remove that menu item for testing purposes, only “Blog” is highlighted so I am confident that is the cause.This is obviously a quite minor issue, but my questions are:
– is it possible to stop this happening? I have had some limited success by adding empty query strings to the submenu item – in an attempt to change the shared url – but it’s not very pretty and doesn’t work 100% ;
– is this expected behaviour, or a potential bug? I don’t see why it should highlight a parent item of a lower level item that has the same link of another page, but maybe there is a reason for it.
I am using Twenty Eleven theme (actually a child theme with some very trivial mods).
The page I need help with: [log in to see the link]
- The topic ‘Muiltiple menu items get highlighted’ is closed to new replies.