This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson
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!
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.
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?
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.
Tagged: google fonts, https, security, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up