[Resolved] Use Any Google Font?

Home Forums Support Use Any Google Font?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1413220
    Ian

    I was under the impression that I could choose any Google font and GP will output this. I just tried to choose this in the Primany Nav but Customizer won’t recognize it.

    https://fonts.google.com/specimen/Freckle+Face#standard-styles

    Am I missing something?

    #1413224
    Ian

    I should clarify, I have added this code:

    add_filter( ‘generate_number_of_fonts’,’tu_show_all_available_google_fonts’ );
    function tu_show_all_available_google_fonts() {
    return ‘all’;
    }

    But when I choose say Freckle Face, the Primary Nav font does not update. Is there a switch I need to enable?

    #1413228
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1413230
    Ian

    Sorry Leo. My bad. I was running a custom header! Figured it out.

    #1413231
    Leo
    Staff
    Customer Support
    #1428876
    Simon Bailey

    Hey Support.

    I’m having a similar issue.

    I’ve created a child theme.

    I can see the Google Font code when I inspect the page. For example…

    <link rel="stylesheet" id="generate-fonts-css" href="//fonts.googleapis.com/css?family=Open+Sans:regular,italic,600,600italic,700,700italic|Lato:100,100italic,300,300italic,italic,700italic,900,900italic" type="text/css" media="all">

    But the font doesn’t display. Here is a test page…

    https://staging.manlygoldeneagles.com.au/Styles/

    Any help would be appreciated.

    #1428953
    David
    Staff
    Customer Support

    Hi there,

    remove this from your Child Theme style sheet:

    @import url("../generatepress/style.css");

    Its not required and is in turn requesting the Themes styles sheet again, after the inline styles are loaded.

    #1429003
    Simon Bailey

    Perfect. Thanks David!

    #1429006
    David
    Staff
    Customer Support
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.