Reply To: Importing Fonts

Homepage Community Forums Legacy Theme Support Importing Fonts Reply To: Importing Fonts

#7973
Wes
Moderator

    In the new update I’ve added the default Oswald Google Font in the functions file. It should look like this –

    //* Enqueue Lato Google font
    add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' );
    function genesis_sample_google_fonts() {
    	wp_enqueue_style( 'google-font', '//fonts.googleapis.com/css?family=Oswald:400,300|Open+Sans', array(), PARENT_THEME_VERSION );
    }<!--formatted-->

    You should still be able to add it to the stylesheet if you want though, both ways should work fine.