Google Fonts not coming from a secure URL

This topic has 4 replies, 3 voices, and was last updated 6 years, 2 months ago ago by Rose Tyler

  • Avatar: Hiwire
    Hiwire
    Participant
    October 3, 2018 at 18:24

    I am hoping to get some help on updating the code so that my website running XMarket theme can pass as a secure site.

    There are two issues that are popping up, the first is that when using the Fonts Options in the Theme Options, it is calling up the old google fonts css through a non-secure url: http://fonts.googleapis.com/css?family=Open+Sans

    This needs to be updated to https, but I can’t find the location of the code to make the update to the theme files.

    The second is the default map on the contact template, as google has updated their API and no longer displays a map API without a credit card attached to the account. I don’t think this would be a simple fix, so I’ve turned off the map for now. But if someone has something, I’m all ears!

    The most important would be the google font CSS being able to call up the secure version so I can get the proper lock icon on my secure URL.

    Thanks!

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 8, 2018 at 08:25

    Hello,

    1) Edit xmarket/et-styles.php file, find <link href='http://fonts.googleapis.com/css?family=<?php echo $font_src; ?>' rel='stylesheet' type='text/css'/> and change http to https.
    2) Unfortunately, we don’t have solution to show google map without API.

    Regards

    Avatar: Hiwire
    Hiwire
    Participant
    October 9, 2018 at 18:55

    Thanks, so much. Super easy once you were able to point out the proper file.

    I have removed the Map for now.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 10, 2018 at 08:12

    Hello,

    You’re welcome!
    Feel free to ask if you have any other questions.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.