Home › Forums › Support › Adobe Typekit in generateblocks This topic has 5 replies, 3 voices, and was last updated 4 years, 1 month ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts February 25, 2020 at 3:57 am #1176076 Heinrich hi team, want to use adobe fonts in blocks (button). fonts are added and working fine in customizer. if i try to create a button in blocks, the defined font is not used and i can`t find my adobe font in advanced typo. any idea? February 25, 2020 at 10:58 am #1176656 TomLead Developer Lead Developer Hi there, You would need to load the Typekit javascript inside the block editor. How are you adding it to the front-end of the site currently? February 25, 2020 at 12:01 pm #1176690 Heinrich hi tom, i integrate the fonts in two steps: 1. step: a hook: <link rel=”stylesheet” href=”https://use.typekit.net/xxxxxxxx.css”> 2. snippet to add the fonts in the customizer: add_filter( ‘generate_typography_default_fonts’, ‘tu_add_typekit_fonts’ ); function tu_add_typekit_fonts( $fonts ) { $fonts[] = ‘itc-fenice’; $fonts[] = ‘trade-gothic-next’; return $fonts; }; seems i need a third step? February 25, 2020 at 3:34 pm #1176830 TomLead Developer Lead Developer You need to hook the Typekit URL into the block editor: add_action( 'enqueue_block_editor_assets', function() { wp_enqueue_style( 'typekit', 'https://use.typekit.net/xxxxxxxx.css' ); } ); Then just add your font family name into the Font family field. February 26, 2020 at 2:16 am #1177141 Heinrich hi tom, snippet added. the font doesn`t appear in the font list, but you mean manually type the font family below the font list? screenshot her: https://drive.google.com/open?id=1PSMD4hrG86X0oclop_NXdYxHtpLL6o6_ February 26, 2020 at 6:30 am #1177375 DavidStaff Customer Support In the Select font... field change this to Other And then in the field you have highlighted add your Typekit Font name Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In