Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 00h 42m 37s
Claim 50% off
Awaiting an answer Templates

Floox - use Google Fonts self hosted

Asked by Mario 11 months ago Last activity 9 months ago

Hi,
with Template Floox i am not able tu use self hosted Google Fonts.
PT Serif
Poppins

Adding them to Font Book in SPPB did not help

can you help me to customize .css file?

9 replies

Paul Frankowski Senior Staff
11 months ago · edited

Hi,

  1. There is text guide + my video about that already
    Read: https://www.joomshaper.com/documentation/helix-framework/customization-tips#how-to-add-google-fonts-manually
    and video: https://www.youtube.com/watch?v=MfAIT8cMuv4
  2. Add full path to Font Files - it may help.
  3. Then you have to tell Joomla when use which font, for example, by using:
 body, p, li, ol, span, table  {font-family: 'Poppins'; font-weight: 400;} 
 h1, h2 {font-family: 'PT Serif'; font-weight: 700;}
 h3 {font-family: 'Poppins'; font-weight: 600;} 

I cannot teach you CSS here, but you should get what I mean.

BTW

Italic font is used very rare, why you need that? Is wasting website resources, slowing down...

Mario Asked this

Full path to Font Files did not work.

fonts are in shaper_floox - Default -> Typography

I left everything as it was by default. (Body Font, Heading Font 1..5, Custom Font.

It seems that this template Settings cause the problem??

Paul Frankowski Senior Staff
11 months ago · edited

Mario, If you decided to use custom fonts method, disable Typography settings !!! And use only Custom CSS style.

Otherwise Joomla and browser itself get confused. It's like talking: go left and right on the same time ;]

Mario Asked this

I allmost got it working.

this customization you gave me makes it not look exectly like it was with enabled Typography settings:

body, p, li, ol, span, table {font-family: 'Poppins'; font-weight: 400;}
h1, h2 {font-family: 'PT Serif'; font-weight: 700;}
h3 {font-family: 'Poppins'; font-weight: 600;}

What do i have to change, so that it looks exactly like was (or like the standard floox is)?

Mario Asked this

OK just one more question:
After disable (enable = no) Typography settings i can clear everything from custom.css (file is totally empty, not even@font-face { ... is in it ) and allmost everything looks like it should. Could this be because of installed fonts in Font book?

Paul Frankowski Senior Staff
11 months ago · edited

Purpose of custom.css file is to override template styles or add new styles (also font), the same would be if build a HTML+CSS site.

But indeed, styles from SPPB may override styles from Helix, also if we talk about font-family.


Strange Things always happends.

Don't forget that in CSS there is also "!important" rule.

Martin Grunert

Hi Mario,

Yes, Font Book can override disabled Typography settings - that's the confusion when multiple font systems overlap.

This is exactly why ODLF integrates directly with Helix Typography - one clear source for all local fonts,
no more guessing where they come from. (Currently finalizing the last details for JED submission)

Best,
Martin
https://octi-suite.com

Log in to reply.