Remove Google Fonts

Posted in: Newspaper
Post count: 48

Hello,

How can I disable (and preferably remove) Google Fonts from the Newspaper theme?

We don’t use them, but they are being loaded in the header of every page.

Thank you,

Max

Post count: 285

+1.000.000

Post count: 30

+++++++++

Post count: 26

Hello,

written be another Chris you will find a guide to remove Google Fonts here:
https://forum.tagdiv.com/topic/newsmag-3-1-changing-default-font-stack/

However, I did as described and Google Fonts was still loading. In the end I managed to remove Goolge Fonts with this plugin after I did all the changed described in the link above:
https://de.wordpress.org/plugins/above-the-fold-optimization/

Regards,
Christian

Post count: 285

Hi @linkantonde,
Thank you for your time but here we not talking about guides or plugins to remove Google fonts from Newspaper theme.
I’ve done it myself since I bought the theme and I have to do it every time I update any version.

We talking about (because we are many users), that we want if it’s possible and TagDiv developers they want, some option in the panel settings that completely disable Google fonts and use default fonts like verdana, arial, etc.

Thank you and best to all.

Post count: 48

Thanks for all the replies — would certainly prefer to do it without using a plugin. Looks like it may be a different method per version of the theme too.

Post count: 20685

Hi,

These are the currently available font settings in the theme – https://forum.tagdiv.com/font-customization/ and at the moment the theme does not have an option to disable google fonts but it could be taken in account in a future update. A possible workaround would be to use the solution provided in this topic – https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/

Thanks

Post count: 285

Hi Simion,
All yours guidance to another links about “remove or change default fonts” are deprecated for 7.7 version.
The td_config.php was changed regards fonts call.

¿So, you are kind to give us a clue about how remove the call to fonts.googleapis.com?
¿Was only moved to includes/wp_booster/td_wp_booster_functions.php?

Through the panel settings is totally unfeasible because will charge all the pages with thousands lines of CSS inline.

¡Best to all!

Post count: 20685

Hi,

This is where the theme call to google fonts is being made – https://www.screencast.com/t/CEmeiwhVnf in thetd_wp_booster_functions.phpfile.

Thanks

Post count: 285

¡Thank you for confirmation!

Post count: 22

which codes should I commenting out or delete from td_wp_booster_functions.php?

Post count: 20685

Hi,


@shariarkuasa
You can comment or remove the line of code as mentioned in the previous reply
https://www.screencast.com/t/CEmeiwhVnf

Thanks

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.