Tagged: font
-
AuthorPosts
-
March 18, 2016 at 11:14 am #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…
March 18, 2016 at 11:27 am #600208Hi Chris_85 ;
this can help you :
Register Additional Google Fonts for Theme OptionsMarch 18, 2016 at 7:05 pm #600501Hi!
Please see – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/
@begrafiks thanks :)Best regards,
YigitMarch 21, 2016 at 6:41 pm #601441Thanks,
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
March 22, 2016 at 7:24 am #601712Hi 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,
RikardMarch 22, 2016 at 9:34 am #601762hi,
take a look in the private Content.
Thanks for your help!
best regards
chris
March 22, 2016 at 5:37 pm #602028Hey!
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,
YigitMarch 24, 2016 at 5:09 pm #603251i removed the code from the functions.php but the error is still there… Do you have an idea why??
March 24, 2016 at 5:13 pm #603257Hey!
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,
YigitMarch 24, 2016 at 5:33 pm #603272yeah.. 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
March 28, 2016 at 7:40 pm #604021Hi!
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,
AndyMarch 29, 2016 at 11:06 pm #604832now it works thank you!
cheers
-
AuthorPosts
- The topic ‘use another font for all sections of the website’ is closed to new replies.