Http google fonts load over https – issue by SSL

This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson

  • Avatar: concepts
    concepts
    Participant
    January 20, 2016 at 13:35

    Hi,

    I have the same issue as this customer but i cant find the file to fix it self.
    https://www.8theme.com/topic/load-google-fonts-over-https/

    Mixed Content: The page at ‘https://www.mysite.xx’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Lato%3A100%2C400&ver=4.4.1’. This request has been blocked; the content must be served over HTTPS.

    Can you please change it for me or let me know where it is, maybe so can other customers fix it self they have the same issue?

    Thnx!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 20, 2016 at 15:39

    Hello,

    I’ve edited the file wp-content/themes/idstore/code/functions.php in lines 63 and 64 from

    wp_enqueue_style("open-sans","http://fonts.googleapis.com/css?family=Open+Sans");
    wp_enqueue_style("lato","http://fonts.googleapis.com/css?family=Lato:100,400");

    to

    wp_enqueue_style("open-sans","//fonts.googleapis.com/css?family=Open+Sans");
    wp_enqueue_style("lato","//fonts.googleapis.com/css?family=Lato:100,400");

    Please check the site now.

    Best regards,
    Jack Richardson.

    Avatar: concepts
    concepts
    Participant
    January 21, 2016 at 13:31

    Hi Jack,

    Thnx for the fast support and fix, its works!
    But i have now 1 error: Uncaught SyntaxError: Unexpected token ILLEGAL
    Is this come from the theme or anything else?

    And how its works when i update the theme, i must change this everytime or you fix it in the main theme for all customers by any update?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 21, 2016 at 15:09

    Hello,

    But i have now 1 error: Uncaught SyntaxError: Unexpected token ILLEGAL
    Is this come from the theme or anything else?

    This error is caused by revolution slider plugin.

    And how its works when i update the theme, i must change this everytime or you fix it in the main theme for all customers by any update?

    We will take your query into our account to fix the issue in future updates.

    Best regards,
    Jack Richardson.

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

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

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