Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: bendard - marraskuu 21, 2019, 07:56:07 AP

Otsikko: http => https. Font have changed.
Kirjoitti: bendard - marraskuu 21, 2019, 07:56:07 AP
Hello, I just moved my website from http to https. SMF 2.0.15.

Everthing looks good, it works, but the font has change  ???
Not everywhere, just in the main menu.
Font is still good on http: but changed on https:

It's not the same font, and it's bigger so it change the alignement of my menu.

I used repair_settings.php , it changed nothing.

Can somebody help me please ? Thank you.

EDIT :  boudu.org
Otsikko: Re: http => https. Font have changed.
Kirjoitti: Illori - marraskuu 21, 2019, 07:57:37 AP
link to your forum so we can see the issue?
Otsikko: Re: http => https. Font have changed.
Kirjoitti: bendard - marraskuu 21, 2019, 08:26:37 AP
www.boudu.org

Thank you  :)
Otsikko: Re: http => https. Font have changed.
Kirjoitti: Kindred - marraskuu 21, 2019, 09:58:35 AP
yup...

either a mod or your theme uses google fonts....  and that was not updated to https, so it is rejected by the browser.


<link rel="stylesheet" type="text/css" href="https://www.boudu.org/Themes/citiez_20b/css/index.css?fin20" /><link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet" type="text/css" />


I'll also note that your cloudflare javascript will be broken as well

<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>


and all of the hard coded links on your frontpage are still http
Otsikko: Re: http => https. Font have changed.
Kirjoitti: bendard - marraskuu 21, 2019, 10:49:46 AP
Thank you very much.

Excuse me , I'm a newbie but I can't find how to fix it. Can you please help me ??

I tried to edit index.css and script.js but there is no "http:" in these files.

Edit :  the issue come from the theme. I tried to ask the developper of the theme. But it's not updated since a long time. And the issue is the same on demo page : https://www.dziner-studio.com/index.php/theme=34
Otsikko: Re: http => https. Font have changed.
Kirjoitti: Illori - marraskuu 21, 2019, 11:28:20 AP
check your themes index.template.php file, it may be there.
Otsikko: Re: http => https. Font have changed.
Kirjoitti: Arantor - marraskuu 21, 2019, 11:29:01 AP
DzinerStudio stopped doing themes a long time ago. How did you get the theme?
Otsikko: Re: http => https. Font have changed.
Kirjoitti: bendard - marraskuu 21, 2019, 11:35:53 AP
Lainaus käyttäjältä: Arantor - marraskuu 21, 2019, 11:29:01 AP
DzinerStudio stopped doing themes a long time ago. How did you get the theme?

I bought it a long time ago  ;) Ok maybe it's time to change my theme ...
Any suggestion for a responsive one ?

Lainaus käyttäjältä: Illori - marraskuu 21, 2019, 11:28:20 AP
check your themes index.template.php file, it may be there.

Yes !! It works. Thank you so much !  ;D