Search for: Log In Free Support [Resolved] Google font (Overpass) Home › Forums › Support › Google font (Overpass) This topic has 9 replies, 3 voices, and was last updated 3 years, 10 months ago by Leo. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts June 7, 2017 at 10:31 am #330017 mor Based on my search, I added this (Via Code Snippets): add_filter( ‘generate_typography_customize_list’,’tu_add_google_fonts’ ); function tu_add_google_fonts( $fonts ) { $fonts[ ‘overpass’ ] = array( ‘name’ => ‘Overpass’ ); return $fonts; } The font still doesn’t show in the list. Is there a different way? June 7, 2017 at 10:40 am #330019 LeoStaff Customer Support Hi there, Just tried and this worked for me: add_filter( 'generate_typography_customize_list','tu_add_google_fonts' ); function tu_add_google_fonts( $fonts ) { $fonts[ 'overpass' ] = array( 'name' => 'Overpass' ); return $fonts; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ June 7, 2017 at 10:49 am #330021 mor Not happening for me π June 7, 2017 at 10:50 am #330026 LeoStaff Customer Support Make sure the snippet is activated and check the bottom of the typography list. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ June 7, 2017 at 10:52 am #330028 mor Yesss! It’s at the bottom. Why? (and thank you π ) June 7, 2017 at 10:53 am #330030 TomLead Developer Lead Developer The way the filter works is it waits for the list to be built and then appends the new name after the alphabetizing has been done. I’ll see if I can improve that π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development June 7, 2017 at 10:56 am #330031 mor No rush π Now that I know – I will know where to look for it. Any idea how to get Elementor to get with the program show the font to show in the drop down? June 7, 2017 at 11:04 am #330034 TomLead Developer Lead Developer Elementor would need their own filter/function for their list. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development June 7, 2017 at 11:05 am #330035 mor Thank you. June 7, 2017 at 11:27 am #330041 LeoStaff Customer Support Glad we could help π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In