I have the timeline pro theme. Problem is, that I have a https side and the theme loads fonts from http://fonts.googleapis.com instead of https://fonts.googleapis.com.
This gives me a mixed content error. Can you fix it?
Find the link for 'http://fonts.googleapis.com/css?family=Oswald:300,400,700
in your theme’s CSS file and do one of two things:
1) add an s
to http
, and Google will serve the font via https
or
2), remove the http:
to make the link protocol agnostic, i.e. //fonts.googleapis.com/css?family=Oswald:300,400,700
This is the best method for compatibility in all cases.
Either way, that will solve the mixed content errors.
Doesnt work; in my functions.php in the theme folder, there is no link
Please look at the theme. I just re-downloaded it and there is no such link in the functions file
I have helped you change the google font link, you can download the files in here: https://www.dropbox.com/s/sei04kzosb1d2rd/css%26less.zip?dl=0
After downloading into your computer, you can unzip this file and you will get 3 file.zip then unzip each file and override the files into the folder path that I have used for the file name.
If you still face their issue, you can send me username & password of your site, I will help you resolve it.
Thank you for your efforts. I replaced the three files, but it didn’t work. This is the name of my site: http://www.tassilo-schwarz.com. Maybe you can inspect it yourself; I still get the twice the mixed content error.
__
The file general.php in dw-timeline-pro\framework\helpers contains l. 1034: “$response = wp_remote_get( apply_filters( ‘fw_googleapis_webfonts_url’, ‘http://google-webfonts-cache.unyson.io/v1/webfonts’ ) );”
My this be a problem? The url only works for http; not for https
You can change to https:// .
I have checked and see that it works fine. Please let me know if you still face their issue.
Everything works now. Thank you!
My pleasure! Please let me know if you have any issue or questions, I will help you solve it as soon as possible.
Please login or Register to submit your answer