Tagged: google fonts, open sans
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
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
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.-
Hi!
Please see – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/
or try using this plugin http://wordpress.org/plugins/wp-font-face/
Best regards,
Yigit
thanks for that!
my best regards
P.-