Use Google web fonts...

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
dejansoftware
Joomla! Explorer
Joomla! Explorer
Posts: 438
Joined: Tue Jul 10, 2007 1:24 pm
Location: Banja Luka, Republic of Srpska

Use Google web fonts...

Post by dejansoftware » Tue Dec 13, 2011 1:35 pm

Hi,

I need some tips how to integrate Google web fonts http://www.google.com/webfonts#HomePlace:home into my Joomla.

I try to do as google says but every time something was wrong.

Also tried couple of plugins, like Pocha..., still nothing.

I am using JoomFish for 2 languages, one of them is Cyrillic and second is Latin with "ć, č, ž, š" characters.

Thanks.

 
User avatar
dejansoftware
Joomla! Explorer
Joomla! Explorer
Posts: 438
Joined: Tue Jul 10, 2007 1:24 pm
Location: Banja Luka, Republic of Srpska

Re: Use Google web fonts...

Post by dejansoftware » Tue Dec 13, 2011 9:06 pm

Anyone???

aemiller
Joomla! Hero
Joomla! Hero
Posts: 2301
Joined: Sat Aug 29, 2009 3:08 am
Location: Akron PA
Contact:

Re: Use Google web fonts...

Post by aemiller » Tue Dec 13, 2011 9:29 pm

Where are you adding the Google script? Do you have a url we can see?

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11926
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Use Google web fonts...

Post by brian » Tue Dec 13, 2011 9:30 pm

If the problem is that the google font is working just not for ALL the characters then you should check that the google fonts you use actually support those characters
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
dejansoftware
Joomla! Explorer
Joomla! Explorer
Posts: 438
Joined: Tue Jul 10, 2007 1:24 pm
Location: Banja Luka, Republic of Srpska

Re: Use Google web fonts...

Post by dejansoftware » Wed Dec 14, 2011 8:00 am

Yes, I find google font that supports all of these fonts, the question is how to integrate this in my joomla web site?

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11926
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Use Google web fonts...

Post by brian » Wed Dec 14, 2011 9:28 am

You can either use one of the many extensions available (http://extensions.joomla.org/extensions ... typography) to help you OR


1. Go to http://www.google.com/webfonts and select font that you like.

2. Click Quick Use link in the font's box. Select styles (bold, italic) and character sets (latin, cyrillic) that you need. More options selected make the font's package bigger and slower for downloading. Make sure you selected only the options that you really need.

3. On the same page, you will find a code snippet that you should paste in the head section of your webpage (between <head> and </head>) where you'd like to use the font. If you need it for a Joomla template, you should paste the code in template's index.php file in the head section.

4.You can now use the font in your CSS stylesheets as if it was a regular font
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

f9tech
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue May 29, 2012 5:18 am
Location: Visakhapatnam,India
Contact:

Re: Use Google web fonts...

Post by f9tech » Mon Jun 11, 2012 8:09 am

hello brian!
I think its not index.php in the template.Its index.html.Please search index.html and paste the google link in between head tags. Head tags must be added by you in index.html page.This will be occured mostly in case of jat3 templates.
Last edited by f9tech on Mon Jun 11, 2012 12:43 pm, edited 1 time in total.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11926
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Use Google web fonts...

Post by brian » Mon Jun 11, 2012 8:15 am

f9tech your answer is so wrong I wonder if you have ever used joomla
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

f9tech
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue May 29, 2012 5:18 am
Location: Visakhapatnam,India
Contact:

Re: Use Google web fonts...

Post by f9tech » Mon Jun 11, 2012 12:53 pm

Sorry brian! I am learning joomla.. i found two files named "index.php","index.html" in jat3 template folder.I didn't find any html tags in index.php file but i found html tags in index.html file.So i inserted head tags wrote google link.It works fine.I am attaching index.php and index.html..

Please correct me if i am wrong.
You do not have the required permissions to view the files attached to this post.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11926
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Use Google web fonts...

Post by brian » Mon Jun 11, 2012 1:29 pm

It would be a miracle if it worked by using the index.html as they are not used by joomla but are there for a security reason to prevent directory listing.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

f9tech
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue May 29, 2012 5:18 am
Location: Visakhapatnam,India
Contact:

Re: Use Google web fonts...

Post by f9tech » Tue Jun 12, 2012 4:59 am

hmmmm... k.. i didn't find any html tags in index.php.So can you please tell me? where should i include in index.php file? i included in index.html. Its working fine but tell me if i am wrong...

Thank you brian for replying me... ;D

texaswc
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Jul 02, 2012 8:43 am

Re: Use Google web fonts...

Post by texaswc » Fri Jul 06, 2012 5:26 pm

You probably didn't look in the right place .. my index.php has HTML tags .. including the HEAD tag .. version 2.5.6 .... the index.html files are purely security, nothing more ..

Not sure which HTML files you added to, but if you have that font on your system, in the windows/fonts folder, then remove it and see if you can still see the font on the webpage .. sounds more like you are seeing it because the font actually exists on your computer, in a font folder or system folder....removal of the font from that folder (temporarily) is a common test to see if you can actually see the font via the website or if it is from your system...

texaswc
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Jul 02, 2012 8:43 am

Re: Use Google web fonts...

Post by texaswc » Sat Jul 09, 2016 10:59 pm

BTW, I've found the easiest way to include custom fonts is to upload them and add the css. I've never used google fonts, don't much care to. Font Squirrel is a good place to get everything you need. Used them for the past few years. You can download the font you want, then go to their font generator page, upload the font and when it is done, download the ZIP file and you'll have a css file with all the css you need to add and the font in several formats for compatibility.

 

Locked

Return to “Administration 1.5”