Google Fonts - Question | JoomShaper

Google Fonts

A

ALOVO

Helix Framework 3 months ago

Hello. I would like to add 2 fonts (League Gothic and Glacial indifference) to my website with HOPE template. I get my API key from Google. But when I clic on the button ONE CLICK UPDATE I have this error messe : "Requests from referer are blocked". How to fix this issue. Thanks for your help.

0
20 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 months ago #221966

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

0
A
ALOVO
Accepted Answer
3 months ago #222053
0
A
ALOVO
Accepted Answer
3 months ago #222075

Hi Atick. Can you tell me what is hapened with my website !)? ): I get this error message (https://new.cep-marseille.org). Thank you for your help.

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 months ago #222081

Thank you for reaching out, and I apologize for the inconvenience you are experiencing with your website.

I would like to clarify that I have not logged into your site, as the access details were provided over the weekend, outside of my working hours.

Since this appears to be a server-side issue (500 Internal Server Error), I kindly recommend contacting your hosting provider directly. They will be able to review the server error logs and assist you in resolving the issue promptly.

Thank you for your understanding.

Best regards

0
A
ALOVO
Accepted Answer
3 months ago #222141

So Atick, you can now please connect to the back end. Thanks a lot :)

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

If I may ... this kind of errors can be caused by:

  1. Problems with .htaccess file. Delete current one, go to cPanel and set PHP version again.
  2. Hacker/Spamer attack that could damage Joomla files
  3. Server configuration problems
0
A
ALOVO
Accepted Answer
3 months ago #222140

Thank you Paul. I have deleted the .htaccess file and everything is OK now.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #222244

Please check again now. The Google Fonts API configuration was previously incorrect; I have now updated it with a valid API key of mine, and it is functioning properly.

0
A
ALOVO
Accepted Answer
2 months ago #222502

Perfect and thank you so much. One more thing please. I would like to use like content font Glacial Indifference which is not a google font. How to do so?

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #222559

Please check this documentation

0
M
Martin
Accepted Answer
1 month ago #224160

If you want to use custom fonts (not Google Fonts), you can handle this much easier.

There’s a small extension that lets you upload and manage your own fonts directly — no API needed and no external requests.

It works with Helix Ultimate and Helix3, including variable fonts.

https://extensions.joomla.org/extension/od-local-fonts/

0
A
ALOVO
Accepted Answer
1 month ago #225310

Hi everyone, I haven't been able to get the Glacial Indifference font to work as the body font on my website. I followed the instructions provided in the forum, but I still can't get it to work.

What’s strange is that when I added the Glacial Indifference font using the font converter tool, it became active and displays correctly in Google Chrome, but it does not appear in Safari, Microsoft Edge, or Firefox.

Does anyone know how to fix this issue? I would really appreciate some help.

I've attached a few screenshots of my website to illustrate the problem.

Thank you very much for your assistance.!

0
M
Martin
Accepted Answer
1 month ago #225313

Hi ALOVO,

looking at your screenshots, the issue is clear: the .woff file is registered in your CSS but cannot be loaded from the server ("Failed to load data"). https://prnt.sc/B_jE1CY9BvUl

Since Chrome supports .woff2 natively and uses it as the primary format, it works there - but other browsers fall back to .woff, which is missing or inaccessible.

My recommendation: don't use both formats. Just pick .woff2 - it's supported by all modern browsers (Chrome, Firefox, Safari, Edge) and is the better format anyway (smaller file size, better compression). Make sure your @font-face rule looks like this:

@font-face {
  font-family: 'Glacial Indifference';
  src: url('your-path/glacial-indifference-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

Then verify via FTP or your file manager that the .woff2 file is actually present at that exact path on your server.

Alternatively, consider using the OD Local Fonts Extension - this saves you the CSS editing entirely and lets you manage your custom fonts directly within the Helix settings. Much more convenient! 😊

Hope that helps!

0
A
ALOVO
Accepted Answer
1 month ago #225443

Thank you Martin. I've tried your extension ODLF. But the installation failled https://drive.google.com/file/d/1g2U7eTGbDehwCjtNZy3iZAjJi7mCKOoR/view?usp=sharing

0
M
Martin
Accepted Answer
1 month ago #225454

I just tested it myself and it’s working smoothly. Joomla 5.4.6 and PHP 8.4.

What version of PHP are you using?

(I just hope JoomShaper doesn’t get mad at me for helping you here on ODLF - or you could just create an account on my website ;) )

https://prnt.sc/FOCwTtS_yHQS

0
A
ALOVO
Accepted Answer
1 month ago #225751

I use PHP 8.2 with Joomla 5.4.6. I really need. I can give you the credentials to log into the backend of the site to install your component. Thank you.

0
M
Martin
Accepted Answer
1 month ago #225754

Hi Alovo,

Your current setup is running PHP 8.2, which is already past its active support phase and will stop receiving security updates at the end of 2026.

For new Joomla installations, it is strongly recommended to upgrade to a modern PHP version. ODLF is built and tested for current environments and works best with PHP 8.4.

Please upgrade your PHP version to ensure compatibility, security, and long-term stability of your project.

Your Hope template is fully compatible with Joomla 6 and PHP 8.4 - you should really consider updating it, especially for security reasons.

0
A
ALOVO
Accepted Answer
2 weeks ago #226764

Thank you Martin. Everything is OK now :)

0
M
Martin
Accepted Answer
2 weeks ago #226765

Your welcome :)

0
A
ALOVO
Accepted Answer
1 month ago #225311

screenshots : https://drive.google.com/drive/folders/1nh-yrds53Pv_CBHC8BakZxpFSs8UvTWo?usp=drive_link

0