1. 417Diver
  2. Commercial Templates
  3. Tuesday, 12 March 2013
  4.  Subscribe via email
I was searching through the forums and didnt notice a how to on inserting new google fonts using http://www.google.com/webfonts#

I want to add them to the drop down list on the evolution black template in the logo tab.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

I would like to Open Sans font and other add Polish characters (ąółźć etc.) How do I edit the file googlefont.php or another to implement a different encoding.
Normally, it should do so:

<link href='http://fonts.googleapis.com/css?family=Lato|Open+Sans&;subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic' rel = 'stylesheet' type = 'text / css'>


Thanks
  1. more than a month ago
  2. Commercial Templates
  3. # 21
Accepted Answer Pending Moderation
0
Votes
Undo
Edited the howto so its easier to read. :laugh:
  1. more than a month ago
  2. Commercial Templates
  3. # 22
Accepted Answer Pending Moderation
0
Votes
Undo
Very cool & this should be a sticky post. I don't need it right now, but a very good reference.

;) ~Kat
  1. more than a month ago
  2. Commercial Templates
  3. # 23
Accepted Answer Pending Moderation
0
Votes
Undo
Exactly what I was looking for.
For everyone else that wanted to do this here is an example.

Go to http://www.google.com/webfonts# pick your font you like and to the right click the add to collection (blue button).

Then at the bottom click use.

Towards the bottom you will see integrate the fonts into your CSS.

http://missouriairparks.com/images/integrate.png

IE font-family: 'Merriweather Sans', sans-serif;

You take the
$googleFonts['FontName'] = 'FontName';
and add it into the correct location of the list on a new line under (../templates/j51_yourtemplate/elements/googlefonts.php).

When you have
$googleFonts['FontName'] = 'FontName';
pasted to the file you will need to add the Merriweather Sans like this
$googleFonts['Merriweather Sans, sans-serif'] = 'Merriweather Sans';


Hope this helps everyone else.
  1. more than a month ago
  2. Commercial Templates
  3. # 24
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Steven

The list of Google fonts available for your templates are stored in your templates googlefonts.php (../templates/j51_yourtemplate/elements/googlefonts.php).

Simply add to the list already in place using the following format..

$googleFonts['FontName'] = 'FontName';


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 25
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.