[wp-trac] [WordPress Trac] #59207: Twenty Thirteen: correct styling for Button & File block links in front-end widget areas (Footer & Sidebar) (was: Twenty Thirteen Theme: Button Block & File Block Issue in Frontend Widget Section (Footer & Sidebar))

WordPress Trac noreply at wordpress.org
Fri Aug 25 19:05:38 UTC 2023


#59207: Twenty Thirteen: correct styling for Button & File block links in front-end
widget areas (Footer & Sidebar)
---------------------------+------------------------------
 Reporter:  shailu25       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.8
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, css
---------------------------+------------------------------
Changes (by sabernhardt):

 * version:  trunk => 5.8


Comment:

 Thanks for the report!

 The `blocks.css` file uses `.entry-content` for Button block styles and
 the theme colors, so those never worked in the widget areas. Related:
 #56290 (Twenty Twelve)

 The File block link would need a slightly more specific CSS selector for
 the text color in the Main (Footer) widget area.
 {{{
 .widget a.wp-block-file__button {
         color: #fff;
 }
 }}}

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


More information about the wp-trac mailing list