Home › Forums › Support › Custom font in GP This topic has 3 replies, 2 voices, and was last updated 4 years, 5 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 27, 2018 at 2:18 am #766441 Jose Antonio Hi! I want to put a custom font in a web created with Generatepress, but font don’t shows in the list of typography. In functions.php, I add this: function tu_add_system_fonts( $fonts ) { $fonts[] = ‘Fashion-Fetish’; return $fonts; } And in CSS, I add this: @font-face{ font-family: Fashion-Fetish; src: url(https://www.luispablomateo.com/wp-content/uploads/Fashion-Fetish-Bold_0.woff); font-weight: normal; } @font-face{ font-family: Fashion-Fetish; src: url(https://www.luispablomateo.com/wp-content/uploads/Fashion-Fetish-Heavy_0.woff); font-weight: bold; } What’s wrong? December 27, 2018 at 9:43 am #766832 TomLead Developer Lead Developer Hi there, Your function isn’t complete. It should look like this: add_filter( 'generate_typography_default_fonts','tu_add_system_fonts' ); function tu_add_system_fonts( $fonts ) { $fonts[] = 'Fashion-Fetish'; return $fonts; } December 27, 2018 at 10:38 am #766882 Jose Antonio Hi Tom, Great! I made a silly error… ๐ Thanks for your help. December 27, 2018 at 4:31 pm #767143 TomLead Developer Lead Developer You’re welcome ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In