SSL issue with theme fonts Open Sans and Montserrat - Solved

Ask Green Lantern Theme Error & Bug Related Issues Here

Moderator: forum_m

Post Reply
princeaugust
Posts: 9
Joined: February 25th, 2016, 5:56 pm

SSL issue with theme fonts Open Sans and Montserrat - Solved

Post by princeaugust » August 18th, 2017, 8:33 pm

I installed a SSL cert on my wordpress site and have been working to get rid of unsecured issues. The last issues are these listed below. The links are not https or just '//fonts..' so how do I fix this. I cannot seem to find them in the code in the header, function or style section of the theme. Driving me nuts. They are blocked as unsecure now.
Site is toysoldierfactory.ie
http://fonts.googleapis.com/css?family= ... &ver=4.8.1
http://fonts.googleapis.com/css?family= ... &ver=4.8.1

support_staff
Posts: 7199
Joined: February 26th, 2015, 1:40 pm

Re: SSL issue with theme fonts Open Sans and Montserrat

Post by support_staff » August 19th, 2017, 11:20 am

Hii princeaugust,

Go to green-lantern-premium directory -> functions folder -> weblizar-js-css folder -> open weblizar-js-css.php file and see the below code on line no. 30 -

wp_enqueue_style('font-1', 'http://fonts.googleapis.com/css?family= ... ns:400,600');
wp_enqueue_style('font-2', 'http://fonts.googleapis.com/css?family= ... at:400,700');

replace it with below code and save the file.

wp_enqueue_style('font-1', '//fonts.googleapis.com/css?family=Open+Sans:400,600');
wp_enqueue_style('font-2', '//fonts.googleapis.com/css?family=Montserrat:400,700');

Thanks.

princeaugust
Posts: 9
Joined: February 25th, 2016, 5:56 pm

Re: SSL issue with theme fonts Open Sans and Montserrat

Post by princeaugust » August 21st, 2017, 10:28 pm

Thanks. I did that and the issues are gone. Might be worth considering in a future update to save others this issue.

support_staff
Posts: 7199
Joined: February 26th, 2015, 1:40 pm

Re: SSL issue with theme fonts Open Sans and Montserrat

Post by support_staff » August 22nd, 2017, 11:24 am

Hi princeaugust,

Yaa, we will edited this in our next update.

Thanks.

Post Reply

Return to “Theme Problem, Error & Bug”