This topic has 6 replies, 2 voices, and was last updated 9 years ago ago by Jack Richardson
Hello,
I get an error message in javascript console and I cant figure out how to fix it.
Mixed Content: The page at ‘https://www.ringsofsweden.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C300italic&ver=bb33754b0336072a8565af01bce314cb’. This request has been blocked; the content must be served over HTTPS.
What should I do?
Thank you!
Hello,
Please edit the file wp-content/themes/royal/framework/shortcodes.php in line 2364 and change the link http://fonts.googleapis.com/css?family
to https.
Best regards,
Jack Richardson.
Hello,
I edited the file but i still get the error. any other ideas?
thanks!
Hello,
I’ve changed the code in wp-content/themes/royal/framework/theme-functions.php in line 722
wp_enqueue_style("font-lato","http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic");
to
wp_enqueue_style("font-lato","//fonts.googleapis.com/css?family=Lato:300,400,700,300italic");
Please clear browser cache and check the site.
Best regards,
Jack Richardson.
GREAT!
That did the trick!
Thank you for the help
Best regards
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘font loading with http error message in javascript console’' has been successfully resolved, and the topic is now closed for further responses