Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #445369

    Hi,

    I would like to know how I can get more options for fonts in Enfold. When I bought Enfold I assumed I could choose out of more than 500 Google fonts, but when I want to select fonts, there are only a handful…

    I tried to solve it myself, but that did not work (see my previous post).

    Could you please help?

    I want to add at least two types: Oswald and PT Serif.

    Thanks in advance for your fast reply.

    Cheers,
    Naima

    #445853
    #446328

    Hi Elliott,

    I pasted this code in functions.php but nothing happens…

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘PT Serif’] = ‘PT Serif:400,700,400italic,700italic’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘PT Serif’] = ‘PT Serif:400,700,400italic,700italic’;
    return $fonts;
    }

    #447254

    Hi!

    Did you paste it inside the child theme functions.php file?

    Best regards,
    Elliott

    #447392
    This reply has been marked as private.
    #448245

    Hey!

    I edited the functions.php file and I got an error. Everything is blank. I’m sorry but I must have missed something when I edited the file. Please override the functions.php file to fix the error.

    Best regards,
    Ismael

    #448290

    Hi Ismael,

    This is exactly what happened to me when I tried it :)

    I overwritten the functions.php file so everything works again.

    Do you have another solution? :)

    thanks!
    Naima

    #448477

    Hey!

    Do you mind posting FTP access here privately as well?

    Cheers!
    Yigit

    #448486
    This reply has been marked as private.
    #448585

    Hi!

    Nunito is now available as a font in Website Styling > Lettertypen

    Cheers!
    Josue

    #448618

    Thanks Josue!

    #448623

    You are welcome, glad to help :)

    Regards,
    Josue

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