[wp-trac] [WordPress Trac] #57087: Twenty Twenty: Button text is not visible in footer widget (was: Twenty Twenty Theme - Button texts is not visible in footer widget)

WordPress Trac noreply at wordpress.org
Sat Nov 12 17:10:26 UTC 2022


#57087: Twenty Twenty: Button text is not visible in footer widget
-------------------------------------------------+-------------------------
 Reporter:  mayur8991                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:  css
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots has-patch => has-screenshots has-patch needs-
     testing
 * focuses:   => css
 * component:  Themes => Bundled Theme
 * version:  6.1 =>


Comment:

 The `.footer-widgets a` selector has been in the theme since
 [https://github.com/WordPress/twentytwenty/pull/447 PR 447]. However,
 links have a default color regardless of location, so this ''might'' be
 safe to remove. This would need testing with many different links in
 widgets.

 One quirk is that changing the Primary (or accent) color in the Customizer
 will turn the button text color to white. This color continues to apply
 when switching back to the default Primary color.
 {{{
 .header-footer-group .wp-block-button:not(.is-style-outline) .wp-block-
 button__link {
   color: #ffffff;
 }
 }}}

 In WordPress 6.0, the button text was also pink, unless the link was
 visited earlier. (The editor styles had set a white color for the
 `:visited` state.)

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


More information about the wp-trac mailing list