[wp-trac] [WordPress Trac] #58395: Twenty Twenty: H6 style is not consistent with other headings (was: In the twenty-twenty theme heading block style is not consistent)
WordPress Trac
noreply at wordpress.org
Wed May 24 16:51:58 UTC 2023
#58395: Twenty Twenty: H6 style is not consistent with other headings
---------------------------+----------------------
Reporter: himshekhar07 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses: css
---------------------------+----------------------
Changes (by sabernhardt):
* status: new => closed
* focuses: => css
* component: General => Bundled Theme
* milestone: Awaiting Review =>
* keywords: needs-patch =>
* resolution: => wontfix
Old description:
> In the twenty-twenty theme, the heading block style is not consistent as
> for the h1 to h5 the style is the same but when switching to h6 two
> additional css is added
> {{{
> text-transform: uppercase
> }}}
> and
> {{{
> letter-spacing: 0.03125em;
> }}}
> gets added to it.
>
> Here is a video: [https://share.cleanshot.com/TySC845CPF5snSr7vTRq]
New description:
In the twenty-twenty theme, the heading block style is not consistent as
for the h1 to h5 the style is the same but when switching to h6 two
additional css is added
{{{
text-transform: uppercase
}}}
and
{{{
letter-spacing: 0.03125em;
}}}
gets added to it.
Here is a video: [https://share.cleanshot.com/TySC845CPF5snSr7vTRq]
--
Comment:
Thanks for the report.
The `text-transform` property was a
[https://github.com/WordPress/twentytwenty/pull/418 design decision] for
`h6` headings, so it needs to stay that way in the theme. The `letter-
spacing` was [https://github.com/WordPress/twentytwenty/pull/48/files
#diff-b78be019f1dc6d57753ea900c3805b114cd53ab7c0db836cc081836df1b99b7aR359
adjusted earlier], too.
Anyone who does not appreciate the uppercase text probably has switched
the theme or worked around that style by now (in the Additional CSS or a
child theme, or by using the "Letter case" block setting).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58395#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list