[wp-trac] [WordPress Trac] #49137: Twenty Twenty: When widget titles are labels, font is too small

WordPress Trac noreply at wordpress.org
Sun Jan 5 23:09:24 UTC 2020


#49137: Twenty Twenty: When widget titles are labels, font is too small
---------------------------+-----------------------------
 Reporter:  zoonini        |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 When a widget title is a label element, the font size is too small, and
 inconsistent with other widget titles.

 **To replicate:**

 1. Add a widget to one of the footer widget areas that uses a label
 element as the title. Example: [Jetpack subscriptions
 widget](https://jetpack.com/support/subscriptions/)
 2. View site on the front end

 **Result**
 The widget title is too small.

 **Expected**
 The widget title size should match the other widget titles.


 **Expected**
 I used the following custom CSS to work around the issue:



 {{{
 .widget-title label {
   font-size: 4rem;
   }
 }
 }}}


 **Before custom CSS fix**

 [[Image(https://cldup.com/Bz3qiyd76X-3000x3000.png,100%)]]


 **After custom CSS fix**

 [[Image(https://cldup.com/A0vYzw6CBU-3000x3000.png,100%)]]

 Can be seen in action in the footer of my personal site:
 https://kpresner.com/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49137>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list