Archived topic
[Feature Request] Custom font from Generatepress in Generateblocks
4 replies · Started by Philippe on March 5, 2023
Hi there,
In Generatepress within the customizer I can choose Google Fonts to be used for spezific purposes.
I have defined one font for body and another one for headings.
Now for a specific reason I want a p tag to have the heading font. For that I can use the heading block of Generateblocks and switch it to p tag (I want it as p tag because it should not be seen as a heading).
The problem: In the settings of the block I won't find my predefined fonts from Generatepress' customizer settings.
Could you make sure that all fonts I use in the customizer are in the fontlist of Generateblocks?
Thanks,
Philippe
Hi there,
Just found out I can type in the font name. It would still be nice to have the first few fonts to be the custom fonts from customizer.
Best,
Philippe
Hi there,
yes for now you have to simply type in the Font name in GenerateBlocks.
Ill see if we can get a filter added there so you can list your own.
Hi there,
As a developer of Yabe Webfont which offers a simple solution to managed custom fonts, I really need the filter hook that can be used for our plugin to register the fonts to a dropdown list of Generateblocks' block as mentioned by Philippe
Hi there,
i see the git issue you have opened. We will take a look !