Hi,
I’m trying to add the google Manrope font (https://fonts.google.com/specimen/Manrope) to the font list but its not displaying. Following the documentation I’ve added the following script to my child theme functions file:
add_filter( 'generate_typography_customize_list', 'tu_add_google_fonts' );
function tu_add_google_fonts( $fonts ) {
$fonts[ 'manrope' ] = array(
'name' => 'Manrope',
'variants' => array( '300', '400', '500', '600', '700' ),
'category' => 'sans-serif'
);
return $fonts;
}
Tried purging cache but nothing has helped.
Any help appreciated,
Thanks,
Andy