Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #987290

    Hey 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,
    Rikard

    #987324

    Hi 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,
    Flavio

    #987702

    Hi 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,
    Rikard

    #992959

    Hi 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
    Flavio

    #993225

    Hi,

    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,
    Ismael

    #993890

    Hi 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
    Flavio

    #994169

    Hi,

    Thanks for the update.

    That filter is in the child theme’s functions.php file. You can edit it via Appearance > Editor panel.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.