Home › Forums › WoodMart support forum › Upload custom fonts
Upload custom fonts
- This topic has 7 replies, 3 voices, and was last updated 4 years ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
November 3, 2020 at 11:14 am #238207
y.khoroltsovParticipantHello!
I heve problems when i try to upload fonts to mediafiles.
I have mistakes “Sorry, this is an invalid file type for security reasons.”I tryed to upload .ttf, .eof and .woff and all times have thise mistake.
How I can fix this?November 3, 2020 at 12:06 pm #238222
Aizaz Imtiaz AwanKeymasterHello,
First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family
:-)
.Kindly read and follow the below documentation to upload your custom fonts.
https://xtemos.com/docs/woodmart/faq-guides/upload-custom-fonts/In case after following the above documentation if the error is still shown as “This file type cannot be uploaded due to security reasons.” Then follow the below steps:
1. Add this line to the wp-config.php file:
define( ‘ALLOW_UNFILTERED_UPLOADS’, true )
;2. Upload all files formats
3. Remove this line from the wp-config.php file
Regard’s.
Xtemos Studios.November 10, 2020 at 11:39 am #240429
Yoana PetrovaParticipantHi, We have the same issue. We tried to add the line to the wp-config.php file but it doesn’t work. Can you help please?
November 10, 2020 at 1:00 pm #240468
Aizaz Imtiaz AwanKeymasterHello,
@Yoana Petrova Please create a new topic and provide with the admin panel login details of the website to check it myself and help you out accordingly.
Regard’s.
Xtemos Studios.November 16, 2020 at 8:50 am #241875
y.khoroltsovParticipantHello,
I tried to install a custom font according to the instructions received earlier.(https://xtemos.com/docs/woodmart/faq-guides/upload-custom-fonts/). Uploaded 2 files (woff and woff2).The font is appears drop-down menu in the Theme Settings -> Typography, but it is not displayed correctly on the site. Visually it is identical to the standard “Arial, Helvetica”
Font files and pictures are attached, please check it and help fix this problem.
I also tried loading other non-standard fonts, the result is the same.
Attachments:
You must be logged in to view attached files.November 16, 2020 at 12:08 pm #241950
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshots you attached.
It seems that the font is not uploaded correctly please try to reupload the font then clear the cache and check back.
If you are still unable then provide the admin panel login details of the website to check it myself and help you out accordingly.
Best Regards.
November 16, 2020 at 12:58 pm #241986
y.khoroltsovParticipantTried reloading the font – it didn’t work. (((
November 17, 2020 at 8:55 am #242198
Aizaz Imtiaz AwanKeymasterHello,
I have logged into your website and tried changing the font and it is working fine.
Which makes it clear that the issue is with the font not the theme.
You can also try changing the font.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register