Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #321422

    hi. I would like to have my menu font be Sue Ellen Francisco (google font). I tried using Add Google Fonts and Use Any Font, but I can’t seem to figure out how to change change certain aspects. Google Fonts doesn’t even appear to have the ability to change a tags. In Use Any Font, I can change the a tags to Sue Ellen, but then it changes every link and the font is hard to read unless it is larger and all caps. Can you please give me step by step instructions on how to change all the levels of my menu to this font? I believe I am going to have to add the font via php or something so I can call it using css? But I am a little lost.

    Thanks!!!!

    Site http://lbartisan.com/fitrats.com

    #321574

    Hey!

    Try adding this at the very end of your theme functions.php file:

    add_filter( 'avf_google_heading_font',  'avia_add_content_font');
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Sue Ellen Francisco'] = 'Sue+Ellen+Francisco';
    return $fonts;
    }

    Once you done that you can set that font to the menu items via Advanced Style Editor:

    Cheers!
    Josue

    #321910

    Ok, so that doesn’t work:(

    I tried adding it to functions.php, then I created a child theme and added it there. Both times I got an error message that looked like this:

    Parse error: syntax error, unexpected T_FUNCTION, expecting T_STRING or T_VARIABLE or ‘$’ in /home3/lizy/public_html/fitrats.com/wp-content/themes/enfold/functions-enfold.php on line 1080

    I tried googling how to add a google font to functions.php but the code looked so different then what you provided I decided just to ask again.

    Thanks!

    #322065

    Hey!

    You need to put the code in /themes/enfold/functions.php at the very end. I can do it for you if you want but i’d need an admin account (WordPress).

    Cheers!
    Josue

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