Unami Fonts

Support Area Forums Umami Unami Fonts

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #23527
    gmlongjr
    Participant

    Hey Bill,

    Is there an easy way to access all Google fonts from within the theme? I understand that you’ve got ’em narrowed down for a reason, but advice on how to get all the Google fonts imported? I’ve tried the WP Google Fonts plug in that you recommend for other templates, but when installing the plug in it fails to install because it says it can’t create the directory.

    g

    #23531
    Bill Robbins
    Moderator

    Most likely that error message means that WordPress doesn’t have the file permissions it needs to create the new directory for the plugin. That should be able to be changed either with your web host’s control panel’s file browser or with a FTP program.

    One option to add a new Google font is to first add a font to a collection at Google Fonts. Then click on the Use link. In step three in the add this code to your website section, use the @import tab and add the code to the Custom CSS box that’s in the advanced tab in the theme options page. It’ll look something like this:

    
    @import url(https://fonts.googleapis.com/css?family=Open+Sans);
    

    You can then add in styling using that new font. To style all the “body” text, you could use a style like this:

    
    body {
         font-family: 'Open Sans', sans-serif;
    }
    

    The font family will be listed in step 4 on Google Fonts.

    Let me know if you run into any questions or trouble.

    Thanks,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Unami Fonts’ is closed to new replies.