Site logo

Archived topic

Font Family Samples

5 replies · Started by MICHAEL HOLLAND on November 21, 2014

Viewing posts 1–6 of 6

Hi

There are so many fonts that I've never heard of in Typography. How about having the font names in the drop down box spelled out in the way they would actually look on a page?

Thanks
Great Theme

Hi there,

I've thought of doing that, but I think it would take up a lot of resources in the Customizer and might slow down performance considerably.

All of those fonts are pulled from http://google.com/fonts - so it's best to browse there until you find the font you want, and then find it in the list.

Let me know if you have any questions :)

Thanks!

I'd really like to use the font Palanquin which is one of the Google fonts, but missing in GeneratePress.

Maybe that could be fixed...

You can add it to GP like this:

add_filter( 'generate_typography_customize_list', function( $fonts ) {
	$fonts[ 'palanquin' ] = array( 
		'name' => 'Palanquin',
		'variants' => array( '100', '200', '300', '400', '500', '600', '700' ),
		'category' => 'sans-serif'
	);
	
	return $fonts;
} );

Adding PHP: https://docs.generatepress.com/article/adding-php/

Would be good to have a list of all the fonts in Generatepress and a sample of what it looks like in the documentation.

This archived topic is closed to new replies.