[Support request] GDP custom font 'Naum Gothic'

Home Forums Support GDP custom font 'Naum Gothic'

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #447423
    SEOYEONG

    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

    GeneratePress 2.0
    #447428
    Leo
    Staff
    Customer Support
    #447530
    SEOYEONG

    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

    #447816
    Leo
    Staff
    Customer Support

    Hmm step two should be adding @font-face to the stylesheet before any styles?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.