Tagged: body text, typography, update
-
AuthorPosts
-
July 18, 2018 at 5:29 pm #987115
Hi,
After the Enfold update to 4.4.1 the typography only of the german language changed. On the site there are two language, german and english. The english body text of the content is still in the right typography, cachet. The german is now some thing else and should also be in cachet. How can I fix that.
I already tried to change it in Enfold Child > Allgemeines Styling > Schrift.Thanks for your help
July 19, 2018 at 7:34 am #987290Hey Flavio,
Thanks for the login details, I see the same thing on my end. Could you try updating WPML to see if that helps please?
Best regards,
RikardJuly 19, 2018 at 10:35 am #987324Hi Rikard
Thanks for your feedback. I did the update on WPML. Until now nothing changed, but maybe it takes a wile. Do you see something else?
Best regards,
FlavioJuly 20, 2018 at 6:46 am #987702Hi Flavio,
Thanks for the feedback. I’m still seeing the same thing on my end as well unfortunately. You are getting this error messages on both languages:
http://fonts.googleapis.com/css?family=cachet:400,500 - 400 (Bad Request)
The server is saying that the request for the font file is bad basically, I’m not sure why though. You can read more about 400 errors here: https://www.lifewire.com/how-to-fix-a-400-bad-request-error-2617988
I’ll tag some colleagues for the topic as well, maybe they know what is going wrong.
Best regards,
RikardAugust 2, 2018 at 6:56 pm #992959Hi Rikard
The link you sent me didn’t get me anywhere. Do you or one of your colleagues has a other idea to solve this problem?
Thanks a lot
FlavioAugust 3, 2018 at 12:37 pm #993225Hi,
The “cachet” font is not from Google, so you can’t upload it on the theme’s custom font manager or use the the theme’s Google font filter. This filter in the functions.php file is not going to work.
add_filter ( 'avf_google_content_font', 'ddch_avia_add_font' ); add_filter ( 'avf_google_heading_font', 'ddch_avia_add_font' ); function ddch_avia_add_font ( $fonts ) { $fonts['cachet'] = 'cachet:400,500'; return $fonts; }
Use the @font-face rule instead.
// https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
Best regards,
IsmaelAugust 6, 2018 at 11:36 am #993890Hi Ismael
Thanks for your help. I didn’t set up the site myself and I’m not very familiar with the files. I can’t find your listed code in functions.php. I guess I’ll have to take them out first and then use @font-face. Right? Can you give me a more specific description of what I need to do?
Thanks so much
FlavioAugust 7, 2018 at 2:16 am #994169 -
AuthorPosts
- You must be logged in to reply to this topic.