Google Font - SP Page Builder - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Google Font - SP Page Builder

D

Davide

SP Page Builder 3 months ago

Good morning, I'm going to crazy...

I've installed in "Font Book" Google Font.

If I select a font wiht a single word (ex. Heebo) it works correctly, but if I use a font with more words (ex. Baloo Tamma 2) it doesn't.

Because in css I see font-family: Baloo Tamma 2; instead font-family: 'Baloo Tamma 2';

How can I fix?

Thanks

0
7 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198434

Hi Davide,

I may have easy idea how to solve it, can you only share link to zip file with "Baloo Tamma 2" fonts. I want to check one thing.

0
D
Davide
Accepted Answer
3 months ago #198435

I haven't zip file 'cause I installed in your "Font Book"

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198436

Oh, OK. We will check it, but in the meantime, that GF 'Baloo Tamma 2' for what HTML elements do you want to use it? All headers like h1, h2, h3 ??


As alternative , you can install zip with that font, then it will be loaded from your host (GDPR OK) not from Google servers. Then I can rename file and no problems.

0
D
Davide
Accepted Answer
3 months ago #198437

Yes I use headers like h1, h2, h3

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198440

Thx, so as temporray (before next SPPB update) you have two options

By addind that extra Custom CSS line

#sp-main-body h1, h1, #sp-main-body h2, h2, #sp-main-body h3, h3, h4, h5 {font-family: 'Baloo Tamma 2', sans-serif;}

OR

By installing that font as renamed font file, and then Joomla will use, for example, baloo-tamma2 and will be OK. I can prepare ready zip that you can upload in "Font Book"


By now (1) the most easy one, and should work everywhere.

0
D
Davide
Accepted Answer
3 months ago #198441

At the moment I solved with a stupid rule in ReReplacer FIND Baloo Tamma 2; REPLACE 'Baloo Tamma 2';

but I'd like to understand, I think the your compiler doesnt't write " ' " at the start and end of font name

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 months ago #198442

If that works, great

0