Fonts and Font Awesome icons not loading over SSL

后端 未结 7 2246
心在旅途
心在旅途 2021-01-06 06:16

I\'m trying to get my website to load correctly over SSL, and every time I view the page, the icons and font aren\'t loading.

Here\'s what I\'m using for my CSS and

7条回答
  •  醉梦人生
    2021-01-06 06:17

    I had this same problem - after lots of attempts using the CDN links, with and without https://.., I decided to download the font-awesome zip file and serve them instead from my own server.

    Put all the css and assets on your own server, instead of loading them from the CDN link with https://..

    Then, just refer to font-awesome.css file using https://..

    Eg:

    
    

    This fixed it for me, after going round in circles.

提交回复
热议问题