{"id":36236,"date":"2014-10-13T12:28:18","date_gmt":"2014-10-13T16:28:18","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=36236"},"modified":"2017-07-25T11:03:51","modified_gmt":"2017-07-25T15:03:51","slug":"joomla-3-x-how-to-change-a-google-web-font","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-3-x-how-to-change-a-google-web-font.html","title":{"rendered":"Joomla 3.x. How to change a Google web font"},"content":{"rendered":"<p><\/p>\r\n<p>This tutorial shows how to change a Google web font in Joomla 3.x template.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=yxyuMHTL2lY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to change a Google web font<\/a><\/p>\r\n<p>In order to change a Google web font in Joomla 3.x template, you should follow these steps:<\/p>\r\n<ol>\r\n<li>\r\n<p>Let&#8217;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 <a href=\"\/help\/firebug-mozilla-firefox-plugin.html\" target=\"_blank\">Firebug. Mozilla Firefox plugin<\/a>: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2-300x157.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-2\" width=\"300\" height=\"157\" class=\"aligncenter size-medium wp-image-36237\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2-300x157.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2-1024x537.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-2.png 1262w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>templates\/themeXXXX\/index.php<\/strong> file and locate the link to the Google font:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3-300x167.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-3\" width=\"300\" height=\"167\" class=\"aligncenter size-medium wp-image-36238\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3-300x167.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3-1024x571.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-3.png 1290w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>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. <\/p>\r\n<ol>\r\n<li>\r\n<p>Open <a href=\"http:\/\/www.google.com\/webfonts\" rel=\"nofollow\" target=\"_blank\">http:\/\/www.google.com\/webfonts<\/a> and select appropriate font using filters:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4-300x156.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-4\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-36239\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4-1024x535.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-4.png 1272w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>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:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5-300x156.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-5\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-36240\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5-1024x535.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-5.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Add font to collection and click <strong>Use<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6-300x156.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-6\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-36241\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6-1024x533.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-6.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Select appropriate character set and Copy the generated code:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7-300x155.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-7\" width=\"300\" height=\"155\" class=\"aligncenter size-medium wp-image-36242\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7-300x155.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7-1024x531.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-7.png 1283w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<li>\r\n<p>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:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8-300x155.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-8\" width=\"300\" height=\"155\" class=\"aligncenter size-medium wp-image-36243\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8-300x155.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8-1024x529.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-8.png 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Now we need to change the font in CSS file. You can modify this file by using firebug (right click > <strong>&#8216;Copy location&#8217;<\/strong>, you can also see the line that code is located): <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9-300x155.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-9\" width=\"300\" height=\"155\" class=\"aligncenter size-medium wp-image-36244\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9-300x155.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9-1024x530.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-9.png 1282w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Scroll down to the page with Google font and copy font to your CSS file:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10-300x156.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-10\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-36245\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10-1024x533.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-10.png 1283w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Modified code should look like on the screenshot below:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11-300x150.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-11\" width=\"300\" height=\"150\" class=\"aligncenter size-medium wp-image-36246\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11-1024x514.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-11.png 1284w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Refresh home page and check how menu looks:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12-300x156.png\" alt=\"Joomla_3.x_How_to_change_google_webfont-12\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-36247\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12-1024x535.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/08\/Joomla_3.x_How_to_change_google_webfont-12.png 1270w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=yxyuMHTL2lY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to change a Google web font<\/a><\/p>\r\n<p><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to change a Google web font in Joomla 3.x template.<\/p>\n","protected":false},"author":69,"featured_media":36249,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[1158,1183,688,929,825],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/36236"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=36236"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/36236\/revisions"}],"predecessor-version":[{"id":82251,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/36236\/revisions\/82251"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/36249"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=36236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=36236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=36236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}