[wp-trac] [WordPress Trac] #15404: Allow to target the different list items via CSS in the Admin Bar

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 12 12:50:40 UTC 2010


#15404: Allow to target the different list items via CSS in the Admin Bar
----------------------------+-----------------------------------------------
 Reporter:  defries         |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  normal          |   Milestone:  3.1        
Component:  Administration  |     Version:  3.1        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by defries):

 Replying to [comment:3 nacin]:
 > That's fine, because add_menu also takes a 'meta' argument, which can
 take the form of `array( 'class' => 'more classes here' )`.

 I see that now too, no clue how to do that, but I understand what you
 mean.
 Basically I was looking for an easy CSS hack to change for instance a list
 item to display:none, but also to change a background and/or color and
 such.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15404#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list