[Resolved] Font-family GeneratePress – how does it work?

Home Forums Support Font-family GeneratePress – how does it work?

This topic contains 3 replies, has 2 voices, and was last updated by  David 3 months ago.

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

    Lukas

    Hi
    First, thank you very much for this excellent theme.
    I was just adjusting the pagination of my blog page in order that the same arrows as in the main page navigation are displayed.

    Therefore I added those two hookers:

    add_filter( 'generate_next_link_text', function() {
        return '';
    } );
    
    add_filter( 'generate_previous_link_text', function() {
        return '';
    } );

    And then I set the font-family of the corresponding element via CSS to GeneratePress. So far it works fine ๐Ÿ™‚
    I was just wondering whether this is the most favourable approach?
    And second: I always thought that the browser has to โ€œknowโ€ the font-family in order to render a text or a symbol. How does this work with GeneratePress as a font-family? Is there a risk that a browser wonโ€™t be able to display this font-family? Or how does that work in particular?

    Thank you very much for your answer ๐Ÿ™‚

    #1177290

    David Customer Support

    Hi there,

    that is a favourable approach.
    The theme includes a request for the GeneratePress.wof2 file that it uses of the site icons. So the browser will load this.

    #1177604

    Lukas

    Perfect! Thank you for the information!

    #1177649

    David Customer Support

    Glad we could be of help

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.