• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 02.11.20, 16:07
  • Opened by: Sylvain Duval
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19661 - New font

Hello,

I’d like to know if there is a way to add a new font that is not a Google Font ?

Regards

Comments

Fred 02 Nov 2020, 16:13

Please check out theme documentation https://alysum5.promokit.eu/promokit/documentation/#faq13

Sylvain Duval 03 Nov 2020, 11:16

I did this, but it doesn’t work.
I can select the font name on theme options, but it doesn’t display (see screenshot).

Attachments:

Capture d’écran 2020-11-03 à ... (709.8 KiB)
Fred 03 Nov 2020, 11:47

I don’t understand, you have added it as a google font? just added a font name to the fonts list?

Sylvain Duval 03 Nov 2020, 11:56

I followed your documentation steps :
- download font
- transform it through a web site
- charge font in FTP - add CSS file
- add font lines on the existing file via FTP

Fred 03 Nov 2020, 14:30

I don’t see font’s CSS code in the file https://augresdesbois.com/themes/alysum/assets/css/theme.css

Sylvain Duval 03 Nov 2020, 14:46

I added it at the end of the file (see screen shot).
Isn’t it like this ?

Attachments:

Capture d’écran 2020-11-03 à ... (340.1 KiB)
Fred 03 Nov 2020, 15:23

1. You have to add it to the beginning
2. I still don’t see your code in the file https://augresdesbois.com/themes/alysum/assets/css/theme.css

Sylvain Duval 03 Nov 2020, 15:54

sorry it is on the website www2.jouplast.com

Sylvain Duval 04 Nov 2020, 10:42

Did you see the code ?

Fred 04 Nov 2020, 10:44

please take a look into browser’s console https://take.ms/2RlzK as you can see font’s are not loading I suppose because of wrong path. Please check out carefully the path of your fonts

Sylvain Duval 04 Nov 2020, 10:58

Yes you’r right, I made a mistake by misplacing a piece of code.

Thanks for your help !

Fred 04 Nov 2020, 10:59

you are welcome