Site logo

Archived topic

Menu fonts add

26 replies · Started by Michael on March 13, 2018

Viewing posts 1–15 of 27

Hi
Hi.

How do I add adobe type kit to go.

Hi Tom

Thank you for your response,
I’ll try your instructions and give you and update very soon.

Hi Tom

I've tried your instructions but it didn't work for me.

I've sent a picture of the adobe kit with the embed code and typekit iD.
How do I insert it to GP, so I can use the font for my main navigation?

Please help! please kindly provide step by step.

Don't think we received a picture.

The steps I linked to are the step by step instructions for Typekit. Is there a specific step you got stuck on?

I'll try send a link to the image on tag again and also via email.

the steps you indicated is a little different.
As I tried to replicated, I couldn't see the new fonts being added.

Ah, so the code they're providing should be added in the wp_head hook in GP Hooks.

Then you should be able to use the font family name that they provide in your CSS.

So your saying, just paste the embed code to hooks and I could use the fonts?

Looks like it - they must have simplified things.

I'm not sure what the font is called from your screenshot, but you would still need to add the name of the font in the Customizer filter to set it in the options. Otherwise you'll need to use CSS.

I’m using liberation-san font.

How would I add this to GP fonts?

Like this:

add_filter( 'generate_typography_default_fonts', 'tu_add_typekit_fonts' );
function tu_add_typekit_fonts( $fonts ) {
    $fonts[] = 'liberation-san';
    return $fonts;
}

Where should I paste the code?

Into
Simple css or snipets or hooks?

Code snippets :)

Ok, I’ll try it.hopefully it works.

Hi Leo

The code Tom gave work for Code snippets.

When I use the same code and entered vera-san, replacing liberation-san, it didn't allow me. why is that?

add_filter( 'generate_typography_default_fonts', 'tu_add_typekit_fonts' );
function tu_add_typekit_fonts( $fonts ) {
$fonts[] = 'liberation-san';
return $fonts;
}

This archived topic is closed to new replies.