Zen Cart Logo
Forums / General Questions / How do I make a font from Google Web Fonts Secure..?

How do I make a font from Google Web Fonts Secure..?

Views: 10,784

Results 1 to 11 of 11
29 Jul 2011, 2:15 PM
#1
nolsowski avatar

nolsowski

Inactive

Join Date:
Aug 2010
Posts:
324
Plugin Contributions:
0

How do I make a font from Google Web Fonts Secure..?

I have a font from google web fonts on my category headers and I noticed that when I test out my site in IE or Chrome that the font is not secure on my secure pages. It seems to be the only thing on the page that isn't secure.

Is there a way to make it secure?

My site is in my signature.

Thanks!

29 Jul 2011, 3:16 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How do I make a font from Google Web Fonts Secure..?

nolsowski:

I have a font from google web fonts on my category headers and I noticed that when I test out my site in IE or Chrome that the font is not secure on my secure pages. It seems to be the only thing on the page that isn't secure.

Is there a way to make it secure?

My site is in my signature.

Thanks!

I ran into this on one of my clients sites:

simple solution was to change this:

<link href='http://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'>

to this:

<link href='https://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'>
29 Jul 2011, 3:49 PM
#3
nolsowski avatar

nolsowski

Inactive

Join Date:
Aug 2010
Posts:
324
Plugin Contributions:
0

Re: How do I make a font from Google Web Fonts Secure..?

:clap: Thanks a bunch!

29 Jul 2011, 5:22 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How do I make a font from Google Web Fonts Secure..?

nolsowski:

:clap: Thanks a bunch!

glad to help

16 Dec 2011, 5:19 AM
#5
eclypes2008 avatar

eclypes2008

New Zenner

Join Date:
Oct 2011
Location:
Seattle,WA
Posts:
8
Plugin Contributions:
0

Re: How do I make a font from Google Web Fonts Secure..?

is there any way you can let me know the location of the font file to change the http properties?
i am running into this as well for this fonts.googleapis.com/css?family=Anton
in http://
i can't seem to locate the file.

16 Dec 2011, 5:41 AM
#7
eclypes2008 avatar

eclypes2008

New Zenner

Join Date:
Oct 2011
Location:
Seattle,WA
Posts:
8
Plugin Contributions:
0

Re: How do I make a font from Google Web Fonts Secure..?

No dice still not able to find location of these lines of code,
Total number of items: 86
Number of insecure items: 2
Insecure URL: http://fonts.googleapis.com/css?family=Anton
Found in: https://at-electronics.co/

Insecure URL: http://themes.googleusercontent.com/static/fonts/anton/v2/5t8vP9Hx2udzw372glmOxA.ttf
Found in: http://fonts.googleapis.com/css?family=Anton
i need to change them to https and i just can't seeem to locate them i have looked through css? any idea...thank you for the links i have done that step I am secure all over the web except for google chrome witcch states i must resolve this issue.
Thank you for the reply.

16 Dec 2011, 5:44 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I make a font from Google Web Fonts Secure..?

Those links show you how to look for stuff inside your Zen Cart files. Perhaps if you shorten your search to "Anton" or to "googleapis" you might find more success in your search.

16 Dec 2011, 5:46 AM
#9
eclypes2008 avatar

eclypes2008

New Zenner

Join Date:
Oct 2011
Location:
Seattle,WA
Posts:
8
Plugin Contributions:
0

Re: How do I make a font from Google Web Fonts Secure..?

ok i seemed to finally learn how to use the search bar in zen cart....lol to be in school again so much fun..>:)
Thank you for the help:clap:

3 Dec 2012, 10:26 AM
#10
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: How do I make a font from Google Web Fonts Secure..?

clydejones:

I ran into this on one of my clients sites:

simple solution was to change this:

<link href='http://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'> ``` > > to this: > > ``` <link href='https://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'> ```

I've tried this but it's still not having an effect, Google fonts aren't working on secure pages. Any idea?

6 Dec 2012, 4:47 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I make a font from Google Web Fonts Secure..?

Another little-known trick with google's CDN URLs is this:

Just leave out the "http:" or "https:"
ie: http://fonts.googleapis.com/blahblah would become: //fonts.googleapis.com/blahblah

It'll automatically pick up whichever protocol is in use on the current page.

(caveat: I've not tested this extensively, but have seen it used a few times and it worked fantastically)