We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

improved time display page with helix & SPPB

Featured Lock Resolved Issue
HI,
I am optimizing site joomla 3.9.12 multilingual realized with the latest version of helix Ultimate + SPPB
A lot of work!

1 / Do you have ideas (document) to load locally only the fonts used?

2 / gtmetrix tells me 2 problems
files is a priori very heavy
~3s https://www.onsort.xyz/cache/com_templates/templates/shaper_helixultimate/3cb2f027d7666adc3f6136f0f5f6351d.css
~1s: https://www.onsort.xyz/components/com_sppagebuilder/assets/js/sppagebuilder.js

regards

27 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
ad 1) Yes, More in Helix Ultimate documentation > FAQ & How To Do > How to use a custom font(s)
and How to use Google Fonts from my server
-------
ad 2) Each template contains many css & js files, and you enabled css compression where all css files are put into one "big".
sppagebuilder.js - is compressed already, cannot be smaller.

Paul Frankowski - Staff

More than a month ago #Permalink
ad 2) If you have time & skills you can play with this plugin to stop from loading some template files

https://kubik-rubik.de/jcc-js-css-control

HDcms

More than a month ago #Permalink
Hi,
I watch. thank you

HDcms

More than a month ago #Permalink
HI,

1/I followed the help to load google fonts locally
I still see the call in the https://www.onsort.eu/fr/ source code:

//http://fonts.googleapis.com/css?family=Amatic+SC:100,[...]talic,900,900italic&display=swap
//http://fonts.googleapis.com/css?family=Josefin+Slab:1[...]talic,900,900italic&display=swap
//http://fonts.googleapis.com/css?family=Josefin+Sans:1[...]talic,900,900italic&display=swap
//http://fonts.googleapis.com/css?family=Oswald:100,100[...]talic,900,900italic&display=swap

I did delete the cache and refreshed the page
I watched SPPB or other helix ultimate locations that could keep this call. Unfortunately I do not see anything. Do you have an idea?

2 / your scripts are certainly optimized and I can "play" with the proposed plugin. but is it possible that you put a number of css or script (defer) after the rendering of the page?

ex.: xxx/components/com_sppagebuilder/assets/js/sppagebuilder.js


see https://developers.google.com/web/tools/lighthouse/audits/blocking-resources?utm_source=lighthouse&utm_medium=unknown
Regards

Paul Frankowski - Staff

More than a month ago #Permalink
ad 1) For sure you have to disable Google Fonts from:
A) Template Options > Typografy > No for all
B) All addons (SPPB) if you used there

Joomla loads fonts if user set to use & load, it doesn't think independently, it displays or not only

Paul Frankowski - Staff

More than a month ago #Permalink
ad 2) sppagebuilder.js is important file if you want to use SPPB, let say it's a crucial file !

HDcms

More than a month ago #Permalink
Hi,
2)
ok but sad if big files can not be "defer"

1 /
of course the home page has the beautiful google web fonts in the addons. This means that the addons can not get the fonts loaded in the css file : view-source: "/_css/charge-fontes-web_onsort.css"
If so really very annoying, I spent hours unnecessarily! :-(
I do not understand anymore the interest to remove them of helix, it means that it is necessary to treat everything manually with id or class in the add-ons!
If I have to keep the google helix Ultimate web fonts, would there be any idea to load them at the end (does not block the rendering of the page) ?

HDcms

More than a month ago #Permalink
3 / if I'm trying to put the web fonts back in Helix, I get the error message "Somethings wrong, Try again" :(

Paul Frankowski - Staff

More than a month ago #Permalink
have you clicked Font Update? If yes, you deleted the font list file.

HDcms

More than a month ago #Permalink
** you answer 3 /
Yes I had to click on it.
I just clicked on "one click update" and I have the message "Unexpected error occurs. Please make sure that, you have inserted Google Font API key."
What should I do ? now to have the web fonts of google?

** thank you to answer also my other questions 2 / because I do not understand any more well how I must use the fonts web while not penalizing the loading time on the site

Paul Frankowski - Staff

More than a month ago #Permalink
Google Fonts: from Helix Ultimate Quickstart copy this file
templates\shaper_helixultimate\webfonts\webfonts.json

below is also

Attachments (1)

  • webfonts_HelixU_UNZIP.zip 81.2 KB

Paul Frankowski - Staff

More than a month ago #Permalink
2nd point was about "sppagebuilder.js" and as I said before, I cannot help with it. Sorry.

HDcms

More than a month ago #Permalink
Hi

a) webfonts.json => templates\shaper_helixultimate\webfonts\
I still have the same error message "Somethings wrong, Try again" saving the font change on the main style but no problem on another style

b) sorry but I was reminding the following question:
If I keep the google web fonts, will you be able to put the loading script of these fonts after the start of the page?
If I use my custom css, I have to check each addon and eventually I put an "id" to manage its display via css?

regards

Paul Frankowski - Staff

More than a month ago #Permalink
a) in that case try to uninstall template and install again, export settings first in case of.
---
b) You can load Google fonts using the default method or manual, and google fonts would be installed before </body> as almost the last step. I even created a video for it some time ago
https://www.youtube.com/watch?v=RvnGzbnyng0

HDcms

More than a month ago #Permalink
HI,
Reinstalling the template did not solve the problem.
I can not save any changes made in the configuration of the template.
I have several styles. I'm afraid of losing settings, there is no other solution than to uninstall?
Regards

Paul Frankowski - Staff

More than a month ago #Permalink
please ping me tomorrow (in next +12h), when developers will be in the office
+ send access to Joomla

HDcms

More than a month ago #Permalink
HI,
By trying to copy the backup of the broken style to a new style in the same site. I still have the same error message 'Somethings wrong, Try again'
access to Joomla Done
Regards

HDcms

More than a month ago #Permalink
HI,
I no longer have access to my site or anyone :o ?
"The webmaster has forbidden your access to this site"

HDcms

More than a month ago #Permalink
re
Ah, it's back.
I see that you have intervened on the site.
You could have advanced

Paul Frankowski - Staff

More than a month ago #Permalink
I sent access details to our developer, because it's the only way

HDcms

More than a month ago #Permalink
HI,
Did you see the problem by logging in?
Did someone intervene to fix?
I can now save changes to the style !!
I saw that you have installed extensions. Do I have to uninstall them?
Regards

Paul Frankowski - Staff

More than a month ago #Permalink
The Office is closed now, I cannot ask our developer what he did, etc.

But I guess you can uninstall extensions which he used.
I didn't check, I am on sick leave.

HDcms

More than a month ago #Permalink
Oh ok I wish you back to health quickly.
I will allow myself to redo the request to understand why it works now

Paul Frankowski - Staff

More than a month ago #Permalink
I wish to know too..

HDcms

More than a month ago #Permalink
HI,
Good time has passed. it works. I would have liked to understand what the developer did. Will he remember?
A small return would be welcome!
Regards

Paul Frankowski - Staff

More than a month ago #Permalink
If I remember well you put wrong code in Custom JS in Helix
there must be only clean code without start-end tags

no.png

Attachments (1)

  • no.png
    no.png 0.7 KB

HDcms

More than a month ago #Permalink
ok thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

126

Templates

333946

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us