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

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

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
    Staff
    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
    Staff
    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.