[wp-trac] [WordPress Trac] #52028: Twenty Fifteen: H5 and H6 headings have the same font size

WordPress Trac noreply at wordpress.org
Fri Dec 10 06:05:58 UTC 2021


#52028: Twenty Fifteen: H5 and H6 headings have the same font size
----------------------------------------------------+---------------------
 Reporter:  poena                                   |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  6.0
Component:  Bundled Theme                           |     Version:  4.1
 Severity:  normal                                  |  Resolution:
 Keywords:  good-first-bug has-patch needs-refresh  |     Focuses:  css
----------------------------------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug has-
     patch needs-refresh
 * milestone:  Awaiting Review => 6.0


Comment:

 Thanks for the patches!

 When editing the font size, at least in this theme, the line-height and
 margin values should change as well.

 {{{
         font-size: 20px;
         font-size: 2rem;
         line-height: 1.4;
         margin-top: 2.8em;
         margin-bottom: 1.4em;
 }}}
 {{{
         font-size: 18px;
         font-size: 1.8rem;
         line-height: 1.3333;
         margin-top: 2.6667em;
         margin-bottom: 1.3333em;
 }}}
 {{{
         font-size: 16px;
         font-size: 1.6rem;
         line-height: 1.25;
         margin-top: 3.25em;
         margin-bottom: 1.625em;
 }}}

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


More information about the wp-trac mailing list