1

I am developing a site and recently assigned an SSL certificate to this: previously a CSS framework (w3css ) loaded, but now I am getting an error: couldn't load mixed content. The site is called https://genderandwork.org. As far as I can see the error is that chrome (I'm trying to load the site in the latest version of chrome) doesn't want to load HTTP content on an https site.

Any help would be appreciated.

2 Answers2

3

Most modern, up-to-date Browsers don't load resources over HTTP if the Document is accessed over HTTPS, this is to keep users from making the connection only partially encrypted. Read more on that at MDN

You should change the src-attribute of your <link> elements with the stylesheets to make the request over HTTPS, like this: <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">

Luca Kiebel
  • 9,790
  • 7
  • 29
  • 44
2

Well, mixed content errors occure when your site uses an valid certificate and you try to import resources from an unsecure host.

Luckily, w3schools supports SSL-certificates.

You could eighter append a "s" to yout href-attribute like:
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">

Or you could upload the needed files to your project and import them locally.

HappilyDrunk
  • 31
  • 1
  • 5