Tagged: heading font
Hi!
I’ve been struggling to set all the heading fonts to Helvetica Neue, as the list only have the google fonts ones. Is there any way I can do it without changing the css in base.css and affecting all the dynamic type?
Thanks!!
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts) {
$fonts['Helvetica'] = 'Helvetica';
return $fonts;
}
Cheers!
Josue
Sorry mate, it doesn’t work. It keeps displaying Open Sans. It’s weird because i changed it in my local copy, and once uploaded to the server all the theme settings blew up.
I’m using a child theme by the way if it helps… any idea?
Hi,
Can you please create me a WordPress administrator account? post it here as a private reply.
Regards,
Josue