Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #238336

    Hi,

    I’m developing an RTL site and as far as I’ve seen I can’t change to any other font style than the default one so far.

    I’ve tried to use the WP font-face plugin, and worked step by step according to the instructions in “http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/” but I don’t understand where should I see the font and where should I choose it instead of the default one..

    Please help with this feature as I would like to customize my site a little more.

    Thanks!

    #238503

    Hi oravidor!

    Can you please give us a link to the website? You can use this filter on functions.php to add google fonts:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
    return $fonts;
    }

    Change “Source Sans Pro” with the font that you want to use.

    Best regards,
    Ismael

    #238510
    This reply has been marked as private.
    #238597

    Hi Ismael,

    I couldn’t find any string from the code you’ve sent , not in functions.php and not in functions-enfold.php …

    #238685

    Hey!

    You need to add the code above on functions.php. Maybe you can refer to this link for fonts that can support hebrew: http://www.wazu.jp/gallery/Fonts_Hebrew.html

    Use @fontface on custom.css to add the font. Refer to this link: http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp

    Best regards,
    Ismael

    #239024

    Thanks!!

    It worked

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘RTL Support – Font Styles’ is closed to new replies.