Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#48800 new feature request

Twenty Twenty: Conditional loading of language/locale specific css and php files

Reported by: ianbelanger's profile ianbelanger Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: 2nd-opinion
Focuses: Cc:

Description

First reported on GitHub by @nukaga

https://github.com/WordPress/twentytwenty/issues/970

In the current site design, the title is too large in Japanese and Chinese.
The center alignment is also extraordinary.

https://github.com/WordPress/twentytwenty/issues/118#issuecomment-541292567
https://github.com/WordPress/twentytwenty/issues/118#issuecomment-538964579

Solution
Is it possible to separate the title and body CSS in several languages?

Change History (1)

#1 in reply to: ↑ description @SergeyBiryukov
4 years ago

Replying to ianbelanger:

Is it possible to separate the title and body CSS in several languages?

It is possible, see the Typography section in Twenty Seventeen for example.

It is also possible to disable specific Google fonts for specific locales, see twentyseventeen_fonts_url() for example.

However, we should be careful not to create excessively verbose CSS, see #47925 and #45731 for Twenty Nineteen.

Note: See TracTickets for help on using tickets.