-
AuthorPosts
-
March 16, 2015 at 10:22 pm #412631
http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans
http://www.google.com/fonts/specimen/Open+SansThe 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.
March 17, 2015 at 1:42 am #412708Hi!
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!
JosueMarch 17, 2015 at 5:47 pm #413127Thanks! This did it.
March 17, 2015 at 6:46 pm #413163You are welcome, always glad to help :)
Regards,
JosueMarch 18, 2015 at 12:25 am #413313The 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?
March 18, 2015 at 4:56 am #413362Hey!
Try adding this code to the Quick CSS:
body{ font-size: 16px; }Cheers!
JosueMarch 19, 2015 at 8:41 am #414199So, 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!!
March 19, 2015 at 10:04 am #414238Hi,
Can you post the link to your website please?
Regards,
JosueMarch 19, 2015 at 4:27 pm #414581This reply has been marked as private.March 19, 2015 at 6:56 pm #414742Hey!
Try adding this code to the Quick CSS:
body { font-weight: 300; }Cheers!
JosueMarch 20, 2015 at 6:31 pm #415453You rock, ty.
-
AuthorPosts
- The topic ‘Add Font Open Sans Light 300’ is closed to new replies.
