How to disable Google fonts?


#1

Thanks for a great theme.

IS it possible to disable Google fonts in Hiero theme?


#2

Hi,

Do you want to use other fonts? Other then Google Fonts? or what you mean by disabling Google Fonts?

Best Regards,
Csaba


#3

Yes, i would like to use any of the standard fonts.
I don’t like to give Google a ping for each page load.

Would it be hard to change?


#4

Hi,

You can use this Custom CSS to change the fonts to standard fonts:

h1, h2, h3, h4, h5, h6, ul, ol, li, p, a {
    font-family: Arial, Helvetica, sans-serif !important;
}

Add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/

Best Regards,
Csaba


#5

Csaba, thanks for quick reply.

I will try out your solution, but im afraid the googleapi links will still be loaded on each page?

I wish theme designers would make the google dependence in their themes an option.

On a side note, most wp themes will break when accessing from within China as their great firewall will block anything google.


#6

Hi,

I didn’t see any call to google api after changing fonts, just make sure you don’t use a Google Fonts plugin or font set somewhere else.

Best Regards,
Csaba