[wp-trac] [WordPress Trac] #33703: Menu Class: current_sub_item
WordPress Trac
noreply at wordpress.org
Thu Sep 3 15:17:43 UTC 2015
#33703: Menu Class: current_sub_item
-------------------------+------------------------------
Reporter: atomicjack | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: ui
-------------------------+------------------------------
Comment (by swissspidy):
Can you give an example?
Quite a lot is possible with the current CSS classes. For example, the
currently selected menu item has the class `current.`, while its parent
has a class like `wp-has-current-submenu wp-menu-open menu-top`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33703#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list