Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Disable google fonts

Featured Lock Resolved
Hi

I want to disable the use of google fonts as this slows down the site considerably. I did that following a similar post by adding 'Arial, Helvetica, Sans' under the Template manager - fonts tab. However this is not working. The site still tries to fetch the fonts from fonts.googleapis.com.

Is there a way to completely disable fetching google fonts

CHeers
~Sanket

1 Answers

Alex Smirnov

More than a month ago #Permalink
Hi Sanket,

To disconnect from fron Google Web Fonts server, please try the following hack:

go to /plugins/system/helix/core/helix.php, find the following code:


self::getInstance()->document->addStyleSheet("http://fonts.googleapis.com/css?family=" . $name);


and just comment it out, to make it look like following:


// self::getInstance()->document->addStyleSheet("http://fonts.googleapis.com/css?family=" . $name);


See how it goes.

Regards,

Alex


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 106
Sifat

Sifat

Total Accepted Answers: 102
Toufiq

Toufiq

Total Accepted Answers: 41
Pavel

Pavel

Total Accepted Answers: 4
J

johnny

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us