Hello everyone, I bought One - Joomla 3 Onepage Portfolio Template off the Themeforest stie.
I am running the secure site and I get the message (or an icon in the browser address bar) that the main (One) page is trying to load scripts from unauthenticated sources. Further investigation showed that this normally happens when your site is running on https and there are some calls to http. In our case the template is trying to load the following css:
fonts.googleapis.com/css?family=Open+Sans:400,700
'.
Please advice how i can remove the reference to unsecured sources or maybe load this css from HTTPS as oppose to HTTP.
Hi marval1,
Thanks for contacting us and choosing our product!
About your question our template load font from google and you can don't worry about sources.
In this case can download this fonts and load from your server!
You can do that as this tutorial:
www.t3-framework.org/documentation/bs3-customization#add-fonts
Hope this help!
I still can see in the source of the page reference to <link href='
fonts.googleapis.com/css?family=Open+Sans:400,700
' rel='stylesheet' type='text/css'>. Which makes me believe that it might be loaded from somewhere else. Or alternatively I was wondering why I am not able to use something like <file>HTTPS://fonts.googleapis.com/css?family=Open+Sans:700</file> to avoid the mixed sources on a site running on HTTPS?
When I go to google website to download the fonts I only get a set of ttf files. What css file do i need to create and refer to it between <stylesheets> tags in the assets.xml file.
Hi marval1,
Thanks for your feedback!
You can open file font-opensans.css and see link similar:
url(
fonts.gstatic.com/s/opensans/v13/K88pR3g...pOI_IvcXXDNrsc.woff2
) format('woff2')
You can change link to your site!
The same you can see in: {root}/templates/jux_forlio/etc/assets.xml file font-awesome.min.css
Hope this help!
Your suggestion did work. However I can still see the reference to the <link href='
fonts.googleapis.com/css?family=Open+Sans:400,700
' rel='stylesheet' type='text/css'> in the source. There were two places that had a reference to googleapis fonts, one is referencing to a newly created .css but the other stayed. Do you know where it can possibly be coming from?
Hi marval1,
Thanks for your feedback!
I checked your site. Please try remove the link at:
Step 1: go to path {root}/templates/noone_v2/tpls then open file head.php
Step 2: go to line 58 and change path to your css folder!
Hope this help!
Note: you should change path to font in:
{root}/templates/noone_v2/etc/asset.xml