Tagged: google font
-
AuthorPosts
-
June 17, 2015 at 8:45 pm #460970
Hi I followed the instructions to add a google font (‘Montez’) to Enfold, I still cannot select it.
I added the following text to the bottom of Theme-Funktionen (functions.php):
/*
* Google Font Montez hinzufügen
*/add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Montez’] = ‘Montez:400,700,400italic,700italic’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Montez’] = ‘Montez:400,700,400italic,700italic’;
return $fonts;
}But it does not show up.
Thanks for your help
FrancesJune 18, 2015 at 11:58 am #461209Hey Frances-Photography!
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Cheers!
RikardJune 18, 2015 at 12:15 pm #461214This reply has been marked as private.June 19, 2015 at 1:01 pm #461839Hey!
I can’t access Design->Editor, as it seems to be removed from your dashboard. We would like to check your functions.php to see if you implemented the code correctly, because normally it should work I think.
Cheers!
AndyJune 19, 2015 at 7:26 pm #462098Hey Andy,
I have a multisite ( I think that is how it is called)… In the upper left corner you select “Meine Webseite” I would think it is my websites in English and then Netzwerkverwaltung (network admin) and then dashboard.
Then select Themes and then editor. usually enfold is already selected ( on the upper right).
I hope that helps.Frances
- This reply was modified 9 years, 6 months ago by Frances-Photography.
June 22, 2015 at 10:46 am #462540June 22, 2015 at 12:06 pm #462628Well it does if you don’t have a Multisite… that’s why I described how you get to the editor on a multisite. But I can add some pictures if that helps.
June 23, 2015 at 11:24 am #463273Hey!
thanks for the screenshots. Please try to implement your code into a child theme (anyway you should always use a child theme, otherwise you will loose your custom code when updating theme).
Regards,
AndyJuly 12, 2015 at 10:59 pm #472105Hey,
sorry for answering that late! I just set up my website with a child theme. I inserted the code into the functions.php of my child theme. It is not working :-(Can you please have a look? I reactivated the login above! Thank you very much!
FrancesJuly 14, 2015 at 10:25 am #472958Hey Frances,
Montez should now be selectable on General Styling > Fonts.
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.