[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 07:54:21 UTC 2011

#17107: Theme/plugin CSS can override admin bar parent menu fonts
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  3.2
Component:  Administration   |     Version:  3.1
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |

Comment (by johnjamesjacoby):

 Replying to [comment:7 nacin]:
 > Cool, but I don't necessarily see that as a discrepancy. On my screen
 12px looks quite visibly different.
 To clarify, by "top level links" I meant items that did not have submenus.
 Items like "Edit Post" and "Comments" were always 13px, but any item with
 a submenu was 12px.

 Replying to [comment:8 andrewryno]:
 > I'd be curious as to see what the performance is like of that universal
 selector, especially with the added font declarations. There's a limited
 number of elements that would appear in the admin bar, so replacing * with
 each element (similar to Eric Meyer's reset, HTML5 boilerplate reset,
 etc.) that is used, and then also only add the font styles to the elements
 which have a font in them. Also, no specificity should be lost by
 Also makes sense. One of the goals of this patch was to modify as few
 lines as possible, and this was the simplest solution. Can always revisit
 more exacting CSS later.

Ticket URL: <http://core.trac.wordpress.org/ticket/17107#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list