http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans
http://www.google.com/fonts/specimen/Open+Sans
The above are the links to the google font. I’m trying to only add specifically the Light 300 version to the Enfold theme. I found the following: https://kriesi.at/support/topic/new-custom-font/. The only issue I’m running into is that I don’t know how to specify the Light 300 in the Styling dropdown menu choices.
Hi!
Try with the following:
add_filter( 'avf_google_heading_font', 'add_custom_open_sans');
add_filter( 'avf_google_content_font', 'add_custom_open_sans');
function add_custom_open_sans($fonts) {
$fonts['Open Sans Light'] = 'Open Sans:300';
return $fonts;
}
Cheers!
Josue
Thanks! This did it.
You are welcome, always glad to help :)
Regards,
Josue
The theme preferences does not seem to allow me to make an global change for the font size of all the main content. I am thinking that it would be nice a little bigger, how would I do that on a global scale? Is there a way to do it in the dashboard, or do I need to edit the CSS?
Hey!
Try adding this code to the Quick CSS:
body{
font-size: 16px;
}
Cheers!
Josue
So, I noticed something odd and I think it has to do with the way that my FTP securities are set. None of the setting in the dashboard carry over and I have to do things with the css.
If I want to use the Open Sans Light 300 font in the body how could I do that?
body{
font: Open Sans Light 300;
font-size:16px;
}
?
Thank you again!!
Hi,
Can you post the link to your website please?
Regards,
Josue
Hey!
Try adding this code to the Quick CSS:
body {
font-weight: 300;
}
Cheers!
Josue
You rock, ty.