Home Forums WoodMart support forum Upload custom fonts

Upload custom fonts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #238207

    y.khoroltsov
    Participant

    Hello!
    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?

    #238222

    Hello,

    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.

    #240429

    Yoana Petrova
    Participant

    Hi, 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?

    #240468

    Hello,

    @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.

    #241875

    y.khoroltsov
    Participant

    Hello,
    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.
    #241950

    Hello,

    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.

    #241986

    y.khoroltsov
    Participant

    Tried reloading the font – it didn’t work. (((

    #242198

    Hello,

    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.

Viewing 8 posts - 1 through 8 (of 8 total)