Why have I needed to correct you fonts stylesheet for the techzone theme?
My site was loading mixed content in the fonts/styleheet.css , loading from http URL.
/*Import by Google Fonts https://www.google.com/fonts */
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic);
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300);
body {
font-family: ‘Roboto’, sans-serif;
font-weight: 500;
}
3 answers
Hi Mark,
I am sorry for not getting your points. It would be awesome if you can possibly include URL of your site and a screenshot with detailed explanation. I am happy to help you out.
Best Regards,
Ziven.
I have of course fixed the problem so my URL is of little value.
Your fonts/stylesheet.css file has URL to google fonts in http not https. Then when people use https with the theme it creates mixed content errors and loading delays. That’s all
Hi Mark,
Please try to change the URL like below:
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic);
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300);
and change to.
Without HTTP:
@import url(//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic);
@import url(//fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300);
Hope it will help you.
Best Regards,
Ziven