- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 07.08.24, 14:07
- Opened by: Iryna Davydova
Ticket #25708 - add new font family
hello,
I would like to know how i can add a new font to my alysum template.
I have already the ttf files.
Thank you in advance
@font-face { font-family: 'Mulish'; src: url('../fonts/Mulish-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; } @font-face { font-family: 'Mulish'; src: url('../fonts/Mulish-Italic-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: italic; } body { font-family: 'Mulish', sans-serif; }
Comments
Hi, Iryna.
You are doing that in a proper way. Just make sure the path to fond files is correct.
You can also try to use "!important" attribute to apply font to body, like this
body {
}
Hello
I can't add a font((((
Attachments:
I assume you have wrong path to font file. Open browsers console to see an error message
Hello
I can't add a font((((
Attachments:
Where can I find instructions on how to add fonts? I fixed the error, but the font does not appear in the list
Attachments:
There is no any specific instructions. You just need to make sure the path is correct
your help is nil
I didn't get any advice from you on installing the new font((((
First of all, your question is not related to the theme at all. That’s common question and doesn’t matter what kind of website you have. Second, I gave you useful tip what to check and you didn’t even give any feedback
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server and I'll check the path to the font file