- 
		AuthorPosts
 - 
		
			
				
October 24, 2014 at 8:37 am #340501
I need to change the body text font to Arvo over my entire website. I have managed to change “Heading Font” to Arvo in the pull down menue under “General Styling”. However, no Arvo is available in the “Defines the Font for your body text” pull down menue.
How can I change the body text to Arvo for the entire site using Enfold 3.0.2 and WP 4.0?
BR
LarsOctober 24, 2014 at 4:42 pm #340683Hi kihlbaum!
Please refer to Ismael’s post here – https://kriesi.at/support/topic/add-new-font/#post-234710
Best regards,
YigitOctober 24, 2014 at 5:10 pm #340705Thanks! I tried to add the following code to functions.php but to veil:
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[Arvo] = Arvo:400,600,800′;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[Arvo] = Arvo:400,600,800′;
return $fonts;
}October 24, 2014 at 5:14 pm #340709I fortgot to add that the result was a HTTP 500 error message
October 24, 2014 at 5:20 pm #340711Ok, my bad. Adding the ‘ where they belong in the code I avoid the 500 error, however, no Arvo shows up in the body text fonts dropdown menue.
Regards,
LarsOctober 25, 2014 at 3:14 am #340863Hi!
Thank you for the update.
The font weights are incorrect. Please get the code here: http://pastebin.com/2ReG2VFL
Regards,
IsmaelOctober 25, 2014 at 9:59 am #340923Thanks for the quick reply! However, adding that code to functions.php still does not get Arvo as a choice in the “Defines the Font for your body text” drop down menue.
See screen dump http://www.restaurangtradition.se/os/Enfold-Arvo.jpg.
October 27, 2014 at 3:35 am #341313Hi!
Please try to add it below this code on line 16:
if(isset($avia_config['use_child_theme_functions_only'])) return;Cheers!
IsmaelOctober 27, 2014 at 8:46 am #341357Worked like a charm. Thanks!
 - 
		AuthorPosts
 
- The topic ‘Changing body text font’ is closed to new replies.
 
