This topic has 31 replies, 3 voices, and was last updated 7 years by Radu.

  • Author

    Tagged: 

  • #155050
     fakhari95
    Participant

    hello

    how i setting for add arabic font and color of font in theme

    #155141
     Laura
    Moderator

    Hello, you can just change the wordpress language at General 🙂
    And what section do you want to change? (color)

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155197
     fakhari95
    Participant

    ok.i mean how add droid arabic naskh font to theme font
    And what section do you want to change? (color) i mean body font (#000000)

    #155351
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155516
     Radu
    Moderator

    Hi,

    You can load your desired font to the website using this method : https://archived.seventhqueen.com/forums/topic/how-can-register-japanese-font

    the body font can be changed using this CSS

    body {color:red !important;}

    Cheers
    R.

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

    ok
    your mean this code add to head in general for DroidArabicNaskh?

    add_action(‘wp_head’,’Kleo_hook_font’);

    function Kleo_hook_font() {

    $output=”<link rel=’stylesheet’ href=’http://linktomyfont.com/font.css&#8217; type=’text/css’ media=’all’ />”;

    echo $output;
    }

    and this css:
    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’; }

    #155539
     fakhari95
    Participant

    it possible tell me where exactly add this code for Droid Arabic Naskh font?

    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;
    }

    #155625
     Radu
    Moderator

    Hi @fakhari95,

    You should add in quick css area this css body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’; } or with important declaration body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’ !important; }
    I’ve saw that you have loaded the font to the website and you and you should only to add that css to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

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

    my dear.
    i delet kleo theme from domain javdanegi.com
    kelo theme is active on rahamali.com
    i copy this code body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’ !important; }
    in quick css area but not loded DroidArabicNaskh font.
    is this code following have to copy in quck css?
    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;
    }

    #155759
     Radu
    Moderator

    This function needs to be pasted in wp-content/themes/kleo-child/functions.php

    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;
    }
    

    and the css in The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’; }

    Cheers
    R.

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

    i copied both but do not working for lode droid arabic naskh font

    Attachments:
    You must be logged in to view attached files.
    #155764
     fakhari95
    Participant
    #155826
     Radu
    Moderator

    You haven’t added your font link see this http://seventhqueen.com/public-files/radu/function.jpg_1324370_2017-03-16_18-19-55.png
    Cheers
    R.

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

    i add font link but do not working
    this is code in functtion.php:

    add_action(‘wp_head’,’Kleo_hook_font’);

    function Kleo_hook_font() {

    $output=”<link rel=’stylesheet’ href=’https://fontlibrary.org/face/droid-arabic-naskh/font.css&#8217; type=’text/css’ media=’all’ />”;

    echo $output;
    }

    #155861
     fakhari95
    Participant

    I installed a blugin for drod arabic naskh font.

    #155862
     fakhari95
    Participant

    there are a bug rtl in meno on mobile and tablet
    please see file attachment
    https://www.rahamali.com/how/cook-turkey-burgers-oven/

    Attachments:
    You must be logged in to view attached files.
    #156057
     Laura
    Moderator

    Hello, try to add this to style.css of child theme

    COPY CODE
    
    @media (max-width: 991px) {
    #header .navbar-nav li .caret:after {
        left: 0;
        right: 0px;
        float: right !important;
    }
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #156063
     fakhari95
    Participant

    this code not working

    #156067
     fakhari95
    Participant

    please see file attachment

    Attachments:
    You must be logged in to view attached files.
    #156075
     fakhari95
    Participant

    ohh.
    you tell me mistake.this codehave to copy in quick css no style.css

    #156283
     Laura
    Moderator

    Hello, its not a mistake, the code should be saved at style.css Due to website cache, you may not see the changes, so quick css works with cache, but always save the code at style.css

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #156338
     fakhari95
    Participant

    ok.i understand
    thank you

    #156463
     Laura
    Moderator

    Let me know if you need anything else 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #166658
     fakhari95
    Participant

    hello
    i want change theme font to xm-yekan
    but do not working this code in :

    add_action(‘wp_head’,’Kleo_hook_font’);

    function Kleo_hook_font() {

    $output=”<link rel=”stylesheet” media=”screen” href=”https://fontlibrary.org/face/xm-yekan&#8221; type=”text/css” media=’all’ />”;

    echo $output;
    }

    and this code in quick css:

    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : XMYekan !important; }

    #166700
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #166748
     fakhari95
    Participant

    ok.
    i wait.
    my site is.rahamali.com

    #167004
     fakhari95
    Participant

    hello.
    i need help

    #167164
     Radu
    Moderator

    Hi,

    All seems good excepting the CSS Rule

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

    The font family has a space between XM and Yekan so try like this

    COPY CODE
    
    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : XM Yekan !important; }
    

    OR

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

    Cheers
    R.

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

    thanks
    do not working

    #167227
     fakhari95
    Participant

    plese see my web site: https://www.rahamali.com

    #167228
     fakhari95
    Participant

    it is working with change like attachment

    Attachments:
    You must be logged in to view attached files.
    #167329
     Radu
    Moderator

    Hi,

    So you are ok now with the font ? can I close the ticket ?

    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 32 posts - 1 through 32 (of 32 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?