Font Files Loading Twice - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Font Files Loading Twice

H

Hector

SP Page Builder 4 years ago

Hi friends,

I am working on speed up my website. (I use the Fortune template).

I noticed that the same font files are being loading twice:

  • /components/com_sppagebuilder/assets/webfonts/fa-brands-400.woff

  • /components/com_sppagebuilder/assets/webfonts/fa-regular-400.woff

  • /components/com_sppagebuilder/assets/webfonts/fa-solid-900.woff

  • /templates/fortune/fonts/fa-brands-400.woff

  • /templates/fortune/fonts/fa-regular-400.woff

  • /templates/fortune/fonts/fa-solid-900.woff

Is there's a way to choose whether to load these from either the pagebuilder component or the template, but not both?

The ones loaded from pagebuilder are using the display:block property and the ones loaded from the template are using the display:auto property but Google PageSpeed Insights doesn't seem to like that and my website is suffering as a result:

https://i.imgur.com/mypozRv.png

Please advice.

Many thanks, Hector

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #10165

Hi there!

Thanks for your query.

You can choose whether you want to load font awesome within the global configuration of the SP Page Builder or not.

Here is a screenshot for your ease: https://prnt.sc/10k019x

Hope this helps!

Best Regards

0
H
Hector
Accepted Answer
4 years ago #10170

Cool, thank you Rashida!

Best wishes, Hector

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #10193

You are always welcome:)

0