This tutorial shows how to change a Google web font in Joomla 3.x template.
In order to change a Google web font in Joomla 3.x template, you should follow these steps:
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:
Open templates/themeXXXX/index.php file and locate the link to the Google font:
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.
Open http://www.google.com/webfonts and select appropriate font using filters:
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:
Add font to collection and click Use:
Select appropriate character set and Copy the generated code:
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:
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):
Scroll down to the page with Google font and copy font to your CSS file:
Modified code should look like on the screenshot below:
Refresh home page and check how menu looks:
Feel free to check the detailed video tutorial below: