Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #953799

    I’m trying to use the Google Font Quattrocento for the main paragraph font but this css doesn’t work. however some other google fonts do and some don’t. I can’t figure out why, is that code correct? Is that all I have to do?

    p{
    font-family: ‘Quattrocento’,sans-serif;
    }

    *I’m having it flip to sans-serif so I can tell quickly if it’s working or not.

    #954197

    I figured it out.

    Had to drop this into functions.php of the child theme –

    function custom_add_google_fonts() {
    wp_enqueue_style( ‘custom-google-fonts’, ‘https://fonts.googleapis.com/css?family=Quattrocento:400,700’, false );
    }
    add_action( ‘wp_enqueue_scripts’, ‘custom_add_google_fonts’ );

    #954408

    Hi,

    Great, glad you got it working and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #958797

    yep, this can be closed.

    #958800

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Missing Google Fonts?’ is closed to new replies.