[wp-trac] [WordPress Trac] #55769: Custom css changes admin top links

WordPress Trac noreply at wordpress.org
Fri May 20 17:57:52 UTC 2022


#55769: Custom css changes admin top links
-----------------------------------------------+---------------------------
 Reporter:  martiniwebb                        |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
                                               |  Review
Component:  Toolbar                            |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  has-screenshots reporter-feedback  |     Focuses:  css
-----------------------------------------------+---------------------------
Changes (by sabernhardt):

 * keywords:  needs-screenshots => has-screenshots reporter-feedback


Comment:

 I think we need to know what custom link styles you use in Simple Custom
 CSS and JS, SiteOrigin CSS and/or YellowPencil. The `#wpadminbar a.ab-
 item` selector has high specificity already with an ID.

 {{{
 #wpadminbar .ab-empty-item,
 #wpadminbar a.ab-item,
 #wpadminbar > #wp-toolbar span.ab-label,
 #wpadminbar > #wp-toolbar span.noticon {
         color: #f0f0f1;
 }
 }}}

 In the screenshots, those `.ab-item` links have a different color, but the
 `.ab-label` spans retain the default light gray. I would like to make the
 icon links consistently use the span markup, but then the sub-menus still
 would have a different color in your situation.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55769#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list