Categories

Featured templates

Joomla 3.x. How to change a Google web font

Elina Webb October 13, 2014
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial shows how to change a Google web font in Joomla 3.x template.

Joomla 3.x. How to change a Google web font

In order to change a Google web font in Joomla 3.x template, you should follow these steps:

  1. Let’s change font for the menu items. You can use the Firebug plugin to find the font used for the particular text on your template. Information on how to use firebug you can find at Firebug. Mozilla Firefox plugin:

    Joomla_3.x_How_to_change_google_webfont-2

  2. Open templates/themeXXXX/index.php file and locate the link to the Google font:

    Joomla_3.x_How_to_change_google_webfont-3

  3. We need to replace this font with modified one or just add line with the new font in case original font will be also used.

    1. Open http://www.google.com/webfonts and select appropriate font using filters:

      Joomla_3.x_How_to_change_google_webfont-4

    2. Pay attention to the character set. Select the font that supports your character set. We have selected Cyrillic Extended in order to be able to use Cyrillic fonts:

      Joomla_3.x_How_to_change_google_webfont-5

    3. Add font to collection and click Use:

      Joomla_3.x_How_to_change_google_webfont-6

    4. Select appropriate character set and Copy the generated code:

      Joomla_3.x_How_to_change_google_webfont-7

  4. Replace original code or just add code in case you are going to use old font as well. Modified code you can see on the screenshot below:

    Joomla_3.x_How_to_change_google_webfont-8

  5. Now we need to change the font in CSS file. You can modify this file by using firebug (right click > ‘Copy location’, you can also see the line that code is located):

    Joomla_3.x_How_to_change_google_webfont-9

  6. Scroll down to the page with Google font and copy font to your CSS file:

    Joomla_3.x_How_to_change_google_webfont-10

  7. Modified code should look like on the screenshot below:

    Joomla_3.x_How_to_change_google_webfont-11

  8. Refresh home page and check how menu looks:

    Joomla_3.x_How_to_change_google_webfont-12

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to change a Google web font

Joomla Website Templates
This entry was posted in Joomla! Tutorials and tagged add, change, font, google, web. 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