-1

My site goes through HTTPS, and it says some content is not secure, so when I show unsecured items the HTML page shows up fine.

When in HTTPS though, the page looks incorrectly formatted.

BizBrar
  • 57
  • 1
  • 1
  • 8
  • Thats because the links (eg: stylesheets, js files) in your page are requested through an http connection. Making them to be requested through https will solve the problem – Imesha Sudasingha Feb 28 '16 at 04:28

1 Answers1

1

It sounds like your css isn't loading when you're connecting via https.

Is it possible you're not using protocol-relative paths? If your paths are specific to http they won't load when connecting via https:

Replace paths in this format:

<link rel="stylesheet" href="http://example.com/style.css">

with paths in this format

<link rel="stylesheet" href="//example.com/style.css">

See here for more discussion: How to Include CSS and JS files via HTTPS when needed?

Community
  • 1
  • 1
i3rendn4v05
  • 539
  • 1
  • 4
  • 12