WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#51343 new enhancement

Move Current Submenu to top of Admin Menu

Reported by: markpraschan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Administration Keywords: needs-design-feedback
Focuses: ui, css, administration Cc:

Description

I propose moving the current open submenu to the top of the adminmenu so users can more easily navigate to submenu items without having to scroll. This would be especially helpful when using smaller viewports and/or sites with large/numerous submenus.

The following CSS accomplishes this:

#adminmenu {
    display: flex;
    flex-flow: column;
}
.wp-has-current-menu {
    order: 1;
}
.wp-not-current-submenu {
    order: 2;
}
#collapse-menu {
    order: 3;
}

Attachments (2)

unordered.png (29.3 KB) - added by markpraschan 5 weeks ago.
Admin menu with no adjustments
reordered.png (28.5 KB) - added by markpraschan 5 weeks ago.
Admin menu with items re-ordered per this ticket

Download all attachments as: .zip

Change History (3)

@markpraschan
5 weeks ago

Admin menu with no adjustments

@markpraschan
5 weeks ago

Admin menu with items re-ordered per this ticket

#1 @donmhico
5 weeks ago

  • Keywords needs-design-feedback added

Hello @markpraschan, welcome to WordPress Trac. This is change is something that i'll be frustrated at first but after some time getting used to, i'm sure will make my life easier. But this is just my own opinion. Let's try to get some feedback from the other contributors with much more UI / UX expertise.

Note: See TracTickets for help on using tickets.