Unsafe Scripts on My Site

Avatar
  • Answered
how do I get rid of the unsafe script? Which file in OpenCart needs to be edited? See error message below. Thanks for your help.

Mixed Content: The page at 'https://ramicraftgifts.com/admin/index.php?route=catalog/product&token=5ab144826b6e349be323574ae81de177' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:600'. This request has been blocked; the content must be served over HTTPS.
Avatar
Scott
Hello ramicraft,

Thank you for your question on how to remove unsecure objects on your site. Unfortunately I am not able to see the link provided without your login credentials. I will have to answer generally for you. OpenCart uses template files for their pages. You will want to locate the specific template file for that page and see where it calls "http://fonts.googleapis.com/css?family=Open+Sans:600" You may be able to simply change the 'http:' to 'https:' and make it work fine. I checked and the https URL does work.

Kindest Regards,
Scott M