Archived topic
GDP custom font 'Naum Gothic'
3 replies · Started by SEOYEONG on December 11, 2017
Hi,
I would like to use the 'Nanum Gothic' font.
What should i do?
I also want to use it in 'Element Page builder'
/*
* Nanum Gothic (Korean) http://www.google.com/fonts/earlyaccess
*/
http://fonts.googleapis.com/earlyaccess/nanumgothic.css
Thanks
Hi there,
Give this method a shot: https://docs.generatepress.com/article/adding-custom-font/
Hi,
step1: GeneratePress Child(style.css)
@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
step2: GP Hooks > Before Header
add_filter( 'generate_typography_default_fonts','tu_add_system_fonts' );
function tu_add_system_fonts( $fonts ) {
$fonts[] = 'Noto Sans KR';
return $fonts;
}
step3: It can not be retrieved from the font list. ( Noto Sans KR )
Is there any way?
Thanks
Hmm step two should be adding @font-face to the stylesheet before any styles?