Stop Expansion of Top Level Menu in the WordPress Admin Sidebar
Can anyone tell me how to stop the top level menu items in the WordPress Admin sidebar auto-expanding when that top level item is clicked, or a submenu item chosen from the fly-out menu?
For clarity, I’m not talking about the left/right expansion/collapse of the sidebar menu itself, but the up/down expansion to show submenu level items. e.g. The sidebar shows
Posts : Pages : Appearance : Tools : Settings : … etc.
If I hover over “Appearance”, the submenu items are presented as a fly-out, allowing me to click on one. However, when I do, or if I click on “Appearance” itself, that item auto-expands so that the sidebar now shows
Posts : Pages : Appearance – Themes – Widgets – Background : Tools : Settings : … etc.
Although it’s trivial in the scheme of things, being unable to find the answer is starting to really frustrate me every time it does it!
Many thanks in anticipation.