Closed simkoG closed 1 year ago
This is already possible.
The font family name
field accepts any value you can add to a font-family
property including a font stack
.
For example:Gabarito, sans-serif
or Gabarito, system-ui, sans-serif
You could also do this with Google Fonts, by fist adding a google font, and then adding a font stack.
Description
GeneratePress offers the fantastic capability to utilize custom fonts on our websites. However, there is a significant limitation in that we are unable to specify fallback fonts for these custom typefaces.
Presently, when a custom font is applied to the
body
tag, the generated CSS code appears as follows:The correct way to specify custom fonts for a website should be:
It would greatly benefit the user experience to have an option within the Font Manager section where we can designate fallback fonts for custom typefaces.
References