• I’m using a child theme of Twenty Fourteen, and am intending to remove the default Lato Google font, and use something like Ariel in its place (just a load speed issue – I like the look of Lato, but think it makes more sense to have a web font that loads fast that everyone already has on their computer).

    1. I know the code to use at the bottom of the child theme functions.php file to remove Lato, but I’m not sure of the css to put in my stylesheet to change to Ariel (or another universally used web font), including line space, colour, font size etc. Can anyone assist with this, please?

    2. I have noted a line of CSS in my stylesheet that I think might need to be removed once I’ve removed Lato. It is the following:

    p  {
    font-family:"Lato", Lato, monospace; // or the font you wish
    font-size:90%; // or the size you wish
    }

    Can anyone advise, please, whether I need to remove this to change to Ariel or whatever?

Viewing 2 replies - 1 through 2 (of 2 total)
  • With Google fonts the way around the slow load time is to only select the font weights you actually require for the site, rather than all the options available. For example if you only select Normal 400 and Bold 700 to load time is in the green.

    Here is a useful link:
    https://www.quickonlinetips.com/archives/2014/04/remove-google-fonts-lato-twenty-fourteen-wordpress-theme/

    If you are dead set on arial to change the font to arial you need to change font-family to this:

    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;

    Thread Starter RossB

    (@rossb)

    Thanks a lot jelly_bean, for your informative response.

    I had seen that site you linked to, but ta.

    Do you have any comment re my question 2, please?

    Also, I have the sense that you would not be keen on the idea of changing font from Lato to Ariel. If this is the case, I’d be interested in your reasoning. Is it mainly aesthetics?

    Cheers
    Ross

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replacing Lato Google font in Twenty Fourteen’ is closed to new replies.