Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #738504

    Hi guys, I love this theme!

    Let´s see. I´m trying to add Raleway font and I had added this code (below) in the functions.php.
    I need the lighter versions of the font. (Extra light and light).
    But although I´ve added them, those styles don´t appear in the Advanced General Styling dropdown menus. Only Normal, Bold, Claro and By default.
    Am I doing something wrong?

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Source Raleway’] = ‘Raleway Light:300’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Source Raleway’] = ‘Raleway Extra-Light:200’;
    return $fonts;
    }

    thanks!

    #738519

    Hey

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #738528

    Here you are.

    Thanks

    #738534

    Hi!

    I am redirected to following page in which, nothing shows up :)

    Best regards,
    Yigit

    #738536

    Oh, perhaps the server has some countries in black lists.
    Could you tell me your IP so they put you in a white list?

    Thanks.

    #738838

    You can try the same issue in this other site I´m giving you.
    (Nonetheless give me your IP to put you in white list. Or tell me in which country are you.)

    Thanks!

    #738850

    Hey!

    I adjusted the code and added 100,200,300 and 400 font weights for Raleway. You would need to apply custom CSS code to apply those weight to your texts. If you can point out the changes you would like to make, we can provide you custom CSS code

    Regards,
    Yigit

    #738939

    Yes, I would need to have the possibility to apply the changes I show you in private content, at Home page.
    If you provide me with the custom CSS code it will be great.

    Thanks!

    #739443

    Hi,

    Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your Special Heading elements and give them a custom CSS class “light-font” and “extra-light-font” and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .light-font .av-special-heading-tag {
        font-weight: 300!important;
        font-family: raleway!important;
    }
    .extra-light-font .av-special-heading-tag {
        font-weight: 100!important;
        font-family: raleway!important;
    }

    Best regards,
    Yigit

    #739718

    Thank you very much Yigit!!

    #739823

    Hi,

    Glad we could help!
    Please take a moment to review our theme on themeforest https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Adding new fonts’ is closed to new replies.