[Resolved] Adobe Font Not Showing Correctly

Home Forums Support Adobe Font Not Showing Correctly

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #985532
    Robin

    Hey there – I have just installed an Adobe font called ‘Proxima Nova’.

    I can select it from the ‘Customizer’ for my Body font, however, it doesn’t display as Proxima Nova (which is a sans serif font) and instead shows a serif font of some kind.

    When I use ‘Inspector’ in my browser, it tells me the font is Proxima Nova, but it doesn’t look anything like it.

    I have cleared my cache etc.

    Please help? Currently sobbing into my hands.

    TIA, Robin

    #985538
    Robin

    Wondering if it might have something to do with the Snippet I have added?

    add_filter( 'generate_typography_default_fonts', 'tu_add_typekit_fonts' );
    function tu_add_typekit_fonts( $fonts ) {
        $fonts[] = 'Proxima Nova';
    
        return $fonts;
    }
    #985585
    David
    Staff
    Customer Support

    Hi there,

    how was the font added – using the adobe typekit script? Or as locally served font?

    #985588
    Robin

    Using the adobe typekit script. Like this:

    <link rel="stylesheet" href="https://use.typekit.net/abc1def.css">

    Added as a ‘Hook’, and ‘wp-head’. Displayed ‘Entire Site’.

    #985592
    David
    Staff
    Customer Support

    In the above php snippet try changing:

    $fonts[] = 'Proxima Nova';

    to

    $fonts[] = 'proxima-nova';

    #985599
    Robin

    Yup, that worked. Many thanks David.

    #985616
    David
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.