- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Joomla 3.x. How to use alternative Google fonts/Google jQuery CDN source
January 26, 2015
This tutorial will show you how to use alternative Google fonts and Google jQuery CDN source in Joomla 3.x templates.
Some countries have issues connecting to Google servers. This can cause issues loading Google Fonts and Java Script libraries from Google CDN. To resolve them, please do the following:
In case your website can’t load Google Fonts:
-
Open templates/themeXXXX/index.php file
-
Locate the line:
$doc->addStyleSheet('//fonts.googleapis.com/css?family=[---your_web_font_name_here---]');
-
Replace it with the following:
$doc->addStyleSheet('//fonts.useso.com/css?family=[---your_web_font_name_here---]');
The issue should be fixed now.
Feel free to check the detailed video tutorial below:
Joomla 3.x. How to use alternative Google jQuery CDN source
If your website can’t load jQuery:
-
Open templates/themeXXXX/index.php file
-
Locate the line:
-
Replace with the following:
You can also use local copy of jQuery library. The issue should be fixed now.
Feel free to check the detailed video tutorial below: