Make WordPress Core

Opened 5 years ago

Closed 3 years ago

#55497 closed defect (bug) (wontfix)

Twenty Twenty-Two : H5 and H6 headings have the same font size

Reported by: priyankkpatel Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Working on the new Twenty Twenty-Two theme, I found that the H5 and H6 heading are having same font-size e.g. 18px.

H6 heading should be smaller in size than H5.

Attachments (1)

55497.1.diff​ (408 bytes ) - added by priyankkpatel 5 years ago.
Theme.json updated to serve different sizes for h5 and h6

Download all attachments as: .zip

Change History (4)

#1 @kjellr
5 years ago

Hi there! This is actually an intentional design decision. The difference in hierarchy between the H5 and H6 is communicated through font weight, not font size.

https://cldup.com/h85aO6amkx.png

@priyankkpatel
5 years ago

Theme.json updated to serve different sizes for h5 and h6

#2 @priyankkpatel
5 years ago

Hi @kjellr ,
Thanks for the comment. That make sence.

#3 @sabernhardt
3 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

I'm closing the ticket because it was a design decision.

Similarly, Twenty Twenty-Three has the font-weight difference instead of font-size (#57514). If you go to Styles in the site editor, you could modify the font sizes for heading elements as you like.

Note: See TracTickets for help on using tickets.