Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #600198

    Hi,

    i want to use HELVETICE NEUE THIN as the standard font for my website (for headlines, content etc)
    But when i define that in CSS nothing happens:

    font-family: "HelveticaNeueThin", "HelveticaNeue-Thin", "Helvetica Neue Thin", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosRegular', "Arial", sans-serif;

    How can i define HELVETICA NEUE THIN as Standard font??

    I look forward to hear from you…

    #600208

    Hi Chris_85 ;
    this can help you :
    Register Additional Google Fonts for Theme Options

    #600501
    #601441

    Thanks,

    and how can i register the new font in enfold?
    i used the following code (find in the support forum)

    /*neue Schriftart registrieren*/
    
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['helvetica_neueregular'] = 'helvetica_neueregular:400,700';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['helvetica_neueregular'] = 'helvetica_neueregular:400,700';
    return $fonts;
    }
    ?>

    It works, but the developer tool shoes me the error:

    GET https://fonts.googleapis.com/css?family=helvetica_neueregular:400,700
    avia.js?ver=2:836 [body#top.single.single-post.postid-1.single-format-standard.logged-in.admin-bar.stretched.helvetica_…, prevObject: m.fn.init[1], context: document, selector: “body”]

    Any idea what i have to cange to fix this error?

    Kind regards

    Chris

    #601712

    Hi Chris,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #601762

    hi,

    take a look in the private Content.

    Thanks for your help!

    best regards

    chris

    #602028

    Hey!

    Please remove the code you posted here – https://kriesi.at/support/topic/use-another-font-for-all-sections-of-the-website/#post-601441. Helvetica is not a Google font so it would not work.

    Best regards,
    Yigit

    #603251

    i removed the code from the functions.php but the error is still there… Do you have an idea why??

    #603257

    Hey!

    Have you applied each step here – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/ such as uploading fonts to your server?
    If you have, please create a temporary admin login, FTP login and post them here privately so we can look into it.

    Best regards,
    Yigit

    #603272

    yeah.. the new font is implemented and works..But in the code of the page there is still the following script which makes an error because Helvetica is not a google font. <link rel='stylesheet' id='avia-google-webfont' href='//fonts.googleapis.com/css?family=helvetica_neueregular:400,700' type='text/css' media='all'/>

    But i cant remove this script. I dontk knwo where it is registered

    see ftp login in the private content

    cheers

    #604021

    Hi!

    I checked your website, but I can’t find such error or script in the source code. Where do you see this script/error message?

    You are using an old version of the theme, so please upgrade to Enfold 3.5.1 and let us know if you still need help afterwards.

    Regards,
    Andy

    #604832

    now it works thank you!

    cheers

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘use another font for all sections of the website’ is closed to new replies.