themosis / theme

The Themosis framework theme.
http://framework.themosis.com/
GNU General Public License v2.0
104 stars 35 forks source link

change font source url(s) to avoid http/https conflicts #20

Closed itg-dave closed 7 years ago

itg-dave commented 8 years ago

Hi!

P.e. in welcome.scout.php the font url to load starts with the http:// protocol.

src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format('woff2');

To avoid "Mixed Content" errors the url(s) should just start with //.

src: local('Open Sans'), local('OpenSans'), url(//fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format('woff2');

source: http://stackoverflow.com/a/35978435/5335755 http://www.amixa.com/blog/2012/06/06/how-to-use-google-fonts-under-both-ssl-and-non-ssl-without-ssl-insecure-messages/