Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #352340

    I added Google webfonts earlier the way you recomend in the tread about Google fonts.

    I have put it in my child-themes function.php and it works.

    NOW – I want to add Open Sans and most of the weights – BUT I can´t get it working??

    Q1: IF I want yo see all the weights of Open Sans in the Advanced Styling menu HOW should the code look`?

    Q2: Do I put the code in my Child-themes function.php OR in Enfolds?

    Q3: This code – is that anything I should use in the Enfolds function.php to get it working?
    if(isset($avia_config[‘use_child_theme_functions_only’])) return;

    Sorry for another tread about fonts!

    Kind Regards

    #352696

    Hey lome61!

    Please see here, https://kriesi.at/support/topic/new-custom-font/#post-121900.

    You would just add it to the bottom of your functions.php file as explained in the link. The 400, 600, and 800 values are the different weights that get added. You can add 200 to it if you wish. Like so,

    $fonts['Open Sans'] = 'Open Sans:200,400,600,800';
    

    Cheers!
    Elliott

    • This reply was modified 9 years, 11 months ago by Elliott.
    #352843

    Hey there, hope I can join the topic..
    what if I wanted to add an own font – other than google fonts. Is this recommended? would I need to use a special font tool/plug-in?
    if yes, any suggestions what tool would work best with Enfold theme?

    thanks in advance
    P.-

    #353062
    #353509

    thanks for that!
    my best regards
    P.-

    #353570

    Hey!

    You are welcome P. We will keep the thread open for OP. Let us know if you have any other questions or issues :)

    Regards,
    Yigit

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