WordPress.org

Forums

Hueman
[resolved] How to disable webfonts that are built in? (4 posts)

  1. penurystreet
    Member
    Posted 1 year ago #

    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

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 1 year ago #

    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 );

  3. penurystreet
    Member
    Posted 1 year ago #

    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!

  4. jwn4157
    Member
    Posted 1 year ago #

    VERY nice, Alexander. Thanks for the directions.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags