Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #564517

    Can we use an alternative font with enfold theme and how to install it .

    #564623

    Hey Mirai!

    If the font you want to add is a Google font, you’d just need to add the following code to your theme / child theme functions.php:

    add_filter( 'avf_google_heading_font',  'avia_add_custom_font');
    add_filter( 'avf_google_content_font',  'avia_add_custom_font');
    function avia_add_custom_font($fonts) {
    	$fonts['Additional Font'] = 'Additional Font:300,400,700';
    	return $fonts;
    }

    Regards,
    Josue

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