Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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
    Frances

    #461209

    Hey 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!
    Rikard

    #461214
    This reply has been marked as private.
    #461839

    Hey!

    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!
    Andy

    #462098

    Hey 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

    #462540

    Hi!

    this is what I did, but I still can’t find the editor, so I can’t have a look into your functions.php. The menu point “Editor” is missing:

    Normally it looks like this for me:

    Cheers!
    Andy

    #462628

    Well 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.

    #463273

    Hey!

    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,
    Andy

    #472105

    Hey,
    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!
    Frances

    #472958

    Hey Frances,

    Montez should now be selectable on General Styling > Fonts.

    Regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.