I recently changed the main fonts of my site to “Maven Pro” which has been a standard font back then.
Since the upgrade to 4.4 the font was deleted (I guess?) and even manually I can’t get it to work again.
From other topics I found the following code, which I have been adding to the functions.php file.
But after that I still neither can’t pick Maven Pro within the Enfold Settings, nor is it working via custom CSS.
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Maven Pro'] = 'Maven Pro';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Maven Pro'] = 'Maven Pro';
return $fonts;
}
Thanks in advance for any help! I really want to have Maven Pro back! :D
Hey Florian,
Try adding this code instead:
add_filter( 'avf_available_google_fonts', 'avia_add_google_font');
function avia_add_google_font( $fonts ) {
$fonts['Maven Pro'] = 'Maven Pro';
return $fonts;
}
You should find Maven Pro last in the list.
Hope this helps :)
Best regards,
Nikko
Hey Nikko,
i am also missing the font Maven Pro. I´m not an expert in modi. any code. can you send me excat what i have to do.
thanks
Hi migmarrero,
Please refer to the docs here and use the code above
If you need further assistance please let us know.
Best regards,
Victoria