Support » Theme: Hueman » How to disable webfonts that are built in?

  • Resolved The Satiric

    (@penurystreet)


    Hello Alex,

    Firstly, I’d like to thank you for the marvelous job that you did on Hueman, it’s simply an amazing free theme. I would like to ask however, how would I go about disabling webfonts that are baked into it? The “titillium-regular-webfont.svg” hangs up on speed tests and therefore slows down the whole experience by 3 seconds. I would like to use standard Georgia or Arial fonts site-wide.

    Regards,
    Dennis

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Dennis! Thanks!

    Easiest would be to take out that part of the style.css. Just completely removing line 320 to line 373, so that it won’t load at all. And then just add something like this to your custom css field, or edit line 318 in style.css:

    body, input, textarea, button, select, label { font-family: Arial, sans-serif; }

    Another way to speed up the site is to edit functions.php on line 56 and make the medium sized thumbnails smaller (I had to have them big by default because I don’t know which layout people use).

    add_image_size( 'thumb-medium', 520, 245, true );

    Change that to something like
    add_image_size( 'thumb-medium', 320, 151, true );

    Thank you, it has worked and the website is now much faster. Just to warn people if they stumble on the same issue, if your website is not English, then the webfont will not load!

    VERY nice, Alexander. Thanks for the directions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable webfonts that are built in?’ is closed to new replies.