Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #323000

    Hi

    How do I change to regular fonts for headers etc? I want to test my headers with arial, georgia etc but al i have is a drop done of google fonts which are all a little “fancy”
    Why no option to choose the basic fonts that most people have.
    Thanks

    #323359

    Hey!

    Try adding this at the very end of your theme functions.php file:

    add_filter( 'avf_google_heading_font', 'add_basic_fonts');
    function add_basic_fonts($fonts) {
    	$fonts['Georgia'] = 'Georgia';
    	$fonts['Arial'] = 'Arial';
    
    	return $fonts;
    }
    

    Modify as needed.

    Cheers!
    Josue

    #323950

    Hi
    That didnt work. Why not have the most common fonts as standard?

    #323967

    Hi,

    The code worked fine on my install, can you please create me an administrator account? post it here as a private reply.

    Regards,
    Josue

    #324124

    what is your email address?

    #324132

    Ive managed a workaround for now. I removed the special heading from my title area and replaced with a plain text box. Tha allows me to use regular fonts and change to H2 etc

    It would be much easier to allow web safe fonts across all sections, headers etc though

    thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘regular fonts’ is closed to new replies.