[wp-trac] [WordPress Trac] #55167: Twenty Sixteen: Fix button styles outside of entry-content

WordPress Trac noreply at wordpress.org
Sat Mar 12 21:54:05 UTC 2022

#55167: Twenty Sixteen: Fix button styles outside of entry-content
 Reporter:  mikachan                          |       Owner:  audrasjb
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.0
Component:  Bundled Theme                     |     Version:  5.0
 Severity:  minor                             |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit  |     Focuses:  css
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


 In [changeset:"52926" 52926]:
 #!CommitTicketReference repository="" revision="52926"
 Twenty Sixteen: Remove `.entry-content` selector from button styles.

 This change applies the default button styles to all button blocks in
 Twenty Sixteen, instead of only targeting those in `entry-content`. This
 means that any buttons added outside of `.entry-content`, such as in a
 widget area, will be styled the same as any other button blocks. This
 change also makes the theme custom colors work outside of `.entry-

 Follow-up to [44306].

 Props mikachan, costdev, audrasjb.
 Fixes #55167.

Ticket URL: <https://core.trac.wordpress.org/ticket/55167#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list