Hi, i try to use Google Font Open Sans in different styles (from Light to Bold).
I tried to use @import rule within the child and a function to get Open Sans integration within Cardinal Theme:
function load_fonts() {
wp_register_style('googleFonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,300italic');
wp_enqueue_style( 'googleFonts');
}
add_action('wp_print_styles', 'load_fonts');
All not working.
So my question: How to integrate Google Fonts into Cardinal?