Results 1 to 10 of 11

Hybrid View

  1. #1

    Default 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!

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

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

    Quote Originally Posted by nolsowski View Post
    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:
    Code:
    <link href='http://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'>
    to this:

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

  3. #3

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

    Thanks a bunch!

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

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

    Quote Originally Posted by nolsowski View Post
    Thanks a bunch!
    glad to help

  5. #5
    Join Date
    Oct 2011
    Location
    Seattle,WA
    Posts
    7
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

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

    Quote Originally Posted by clydejones View Post
    I ran into this on one of my clients sites:

    simple solution was to change this:
    Code:
    <link href='http://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'>
    to this:

    Code:
    <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?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default 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)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. HOW TO: Google Fonts
    By Pet Herbal Remedies in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 10 Sep 2015, 09:55 PM
  2. Google Web Fonts
    By nolsowski in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Apr 2011, 07:46 PM
  3. Replies: 3
    Last Post: 22 Jul 2008, 12:01 AM
  4. Fonts from HTML Editor, ALL Page Heading Fonts...
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Feb 2008, 02:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg