New Landing How can we help? Themeforest Theme Support Neighborhood How to add your own font?

Viewing 13 posts - 16 through 28 (of 28 total)
  • #153291
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I see that you have true type font. It dont work with web browser. You should woff font type to work. Please add this code at htaccess file.

    AddType font/ttf .ttf
    AddType font/eot .eot
    AddType font/otf .otf
    AddType font/woff .woff
    
    <FilesMatch "\.(ttf|otf|eot|woff)$">
        <IfModule mod_headers.c>
            Header set Access-Control-Allow-Origin "*"
        </IfModule>
    </FilesMatch>
    

    Thanks
    Mohammad

    #153292
    dhpl
    Member
    Post count: 31

    May I know where can I find htaccess file?

    #153304
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can find htaccess file at root installation of wordpress directory. Your hosting provider can tell you exact path of it.
    Thanks
    Mohammad

    #153590
    dhpl
    Member
    Post count: 31

    Okay thanks, so I just have to copy and paste the code into htaccess file? Do I need to do any changes to the code?

    #153592
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You have .ttf type that will never work on web browser so you need .woff type to work with browser perfectly.

    Thanks
    Mohammad

    #153621
    dhpl
    Member
    Post count: 31

    Hi, there is no htaccess file in the wordpress root directory

    #153622
    dhpl
    Member
    Post count: 31

    Hi, I have changed the font with the font already. Thanks!

    #153624
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its ok.
    Thanks
    Mohammad

    #153625
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its ok.
    Thanks
    Mohammad

    #172004
    hemeng1989
    Member
    Post count: 88

    Would you please help me?I like put on a web page Google font substitution into Microsoft ya hei

    #172008
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    @hemeng1989

    It’s not necessary to posts more than 1 reply about the same issue.
    Can you provide more details about the font issue? Your site url? Admin credentials?

    Use the private reply.

    -Rui

    #172015
    hemeng1989
    Member
    Post count: 88
    This reply has been marked as private.
    #172919
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    @hemeng1989

    We will reply in the other topic.

    -Rui

Viewing 13 posts - 16 through 28 (of 28 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register