Categories

Featured templates

Joomla 3.x. How to use alternative Google fonts/Google jQuery CDN source

Daniel Morales January 26, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

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:

Joomla_3_x_How_to_use_alternative_Google_fonts_source_2

  1. Open templates/themeXXXX/index.php file

  2. Locate the line:

     $doc->addStyleSheet('//fonts.googleapis.com/css?family=[---your_web_font_name_here---]'); 
  3. Replace it with the following:

    $doc->addStyleSheet('//fonts.useso.com/css?family=[---your_web_font_name_here---]'); 

The issue should be fixed now.

Joomla_3_x_How_to_use_alternative_Google_fonts_source_4

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:

Joomla_3_x_How_to_use_alternative_Google_fonts_source_1

  1. Open templates/themeXXXX/index.php file

  2. Locate the line:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/[---your_jquery_version---]/jquery.min.js"></script>
  3. Replace with the following:

    <script src="//code.jquery.com/jquery-[---your_jquery_version---].min.js"></script>

You can also use local copy of jQuery library. The issue should be fixed now.

Joomla_3_x_How_to_use_alternative_Google_fonts_source_2

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to use alternative Google fonts source

Joomla Templates
This entry was posted in Joomla! Tutorials and tagged CDN, font, google, joomla, jQuery. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket