[wp-trac] [WordPress Trac] #17107: Theme/plugin CSS can override admin bar parent menu fonts
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 11 04:49:22 UTC 2011
#17107: Theme/plugin CSS can override admin bar parent menu fonts
-----------------------------+-----------------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.1
Severity: normal | Keywords: needs-patch
-----------------------------+-----------------------------
Attaching a screenshot of the menu-bar when using the Mystique theme as an
example of what happens.
Spent a few minutes playing with the admin-bar CSS trying to come up with
a patch that didn't conflict with existing CSS but couldn't come up with a
solution that didn't replace a bunch of it. Will revisit a patch this
week.
The admin bar font is originally applied here to the entire #wpadminbar:
http://core.trac.wordpress.org/browser/trunk/wp-includes/css/admin-
bar.dev.css#L27
Single link root-level menu items aren't affected in my screen shot
because they have specific CSS that prevents it here:
http://core.trac.wordpress.org/browser/trunk/wp-includes/css/admin-
bar.dev.css#L74
(Putting this in the "Menus" component even though that's meant for
Appearance -> Menus. Will probably want to add a dedicated "Admin Bar"
component.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17107>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list