Home › Forums › Support › Upload custom fonts This topic has 5 replies, 2 voices, and was last updated 5 years, 6 months ago by Elvin. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 25, 2020 at 7:36 pm #1504038 Sanu Kumar How can I install Google’s “Inter” font in GP? October 25, 2020 at 8:01 pm #1504047 ElvinStaff Customer Support Hi, You can try following this documentation: https://docs.generatepress.com/article/customizing-the-google-font-list/#adding-your-google-font-to-the-list October 25, 2020 at 8:30 pm #1504054 Sanu Kumar I added this php but “Inter” font is not showing. add_filter( 'generate_typography_customize_list', 'tu_add_google_fonts' ); function tu_add_google_fonts( $fonts ) { $fonts[ 'zilla_slab' ] = array( 'name' => 'Zilla Slab', 'variants' => array( '300', '300i', '400', '400i', '500', '500i', '600', '600i', '700', '700i' ), 'category' => 'serif' ); return $fonts; } October 25, 2020 at 8:40 pm #1504061 ElvinStaff Customer Support You have to change the values in it. Example: change $fonts[ 'zilla_slab' ] to $fonts[ 'inter' ]. also since Inter is a san-serif font, change 'category' => 'serif' to ‘category’ => ‘sans-serif’. You can also change what font-weights you need on the ‘variants’ value. October 25, 2020 at 8:50 pm #1504065 Sanu Kumar thank you Elvin October 25, 2020 at 9:05 pm #1504079 ElvinStaff Customer Support No problem. 🙂 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