Google Fonts only showing as sans-serif not the font

Community Forums Forums Design Tips and Tricks Google Fonts only showing as sans-serif not the font

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 7 months, 2 weeks ago.

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

    pamrburke
    Member
    Post count: 11

    I added the following code to Genesis Extender, but it is not recognizing the fonts. The fonts show as sans-serif rather than as the font.

    //* Enqueue Google Fonts
    add_action( 'wp_enqueue_scripts', 'add_google_fonts' );
    function add_google_fonts() {
    	wp_enqueue_style( 'minimum-google-fonts', '//fonts.googleapis.com/css?family=Open+Sans|Lato|Oswald|Montserrat', array(), CHILD_THEME_VERSION );
    }
    #104498

    braddalton
    Participant
    Post count: 10695

    This question relates to Cobalt Apps and not StudioPress. Please post it on their forum.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.