This topic has 10 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #183679
     fanourios
    Participant

    Hi, May i know how to make my theme support Asian Font style?

    #183751
     Kieran_SQ
    Moderator

    Hi,

    I will assign this this ticket to a developer to assist you. They’ll be in touch as soon as they can Monday to Friday, East Europe Time.

    Please note no tickets will be replied to on the 25th or 31st of December due to the holidays.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #183993
     Radu
    Moderator

    Hi,

    just follow this topic : https://archived.seventhqueen.com/forums/topic/how-can-register-japanese-font/#post-94592

    Cheers

    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #184182
     fanourios
    Participant

    I tried a few times but seems not working, the font i use is Noto Sans TC

    #184615
     Radu
    Moderator

    I need to see your website to see if the font link are loaded into head tag of your website.

    Make sure to add the css body,a,b,h1,h2,h3,h4,h5,h5 { font-family : “Noto Sans TC” !important; }

    It’s important to add css since this will make the website to use that font

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #184726
     fanourios
    Participant

    Website: https://fanourios.staging.wpengine.com/

    Extra details: Staging Site passcode: User: fanourios Password: 2d3a959b WordPress login ID: wpengine PW:xPKnu2zKx@fEWHkDJQab6jqd

    #185155
     Radu
    Moderator

    Hi,

    There missing the font itself

    COPY CODE
    
    
    add_action('wp_head','Kleo_hook_font');
    
    function Kleo_hook_font() {
    
    $output="<link rel='stylesheet' href='http://linktomyfont.com/font.css' type='text/css' media='all' />";
    
    	echo $output;
    }
    

    https://archived.seventhqueen.com/forums/topic/how-can-register-japanese-font#post-94592

    So just load the font by replacing http://linktomyfont.com/font.css with the font css file

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #185245
     fanourios
    Participant

    thanks, added into function but seems nothing happened…

    #185381
     Radu
    Moderator

    Hi,

    Its ok now you will have just to replace the CSS with this one

    COPY CODE
    
    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : "Noto Sans TC" !important; }
    

    If still not works pay attention to quotes, write you again the quotes if they are wired encoded
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #185408
     fanourios
    Participant

    thanks

    #185521
     Radu
    Moderator

    You’re welcome

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?