[Resolved] Inter Font?

Home Forums Support [Resolved] Inter Font?

Home Forums Support Inter Font?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1444707
    Eric

    Hi GP Folks,

    The Inter Font has been available in Google Fonts for a few months now.

    When will it be available from GeneratePress?

    It’s an awesome, versatile font: https://rsms.me/inter/

    Thanks,
    Eric

    #1444731
    Leo
    Staff
    Customer Support

    Hi there,

    You can add it in with this snippet:

    add_filter( 'generate_typography_customize_list', function( $fonts ) {
    	$fonts[ 'inter' ] = array( 
    		'name' => 'Inter',
    		'variants' => array( '100','200','300','400','500', '600', '700', '800', '900' ),
    		'category' => 'serif'
    	);
    	
    	return $fonts;
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know if this helps ๐Ÿ™‚

    #1444738
    Eric

    Perfect, thanks!

    #1444777
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #1514063
    vast

    As there are already several posts regarding Inter, this question is a continuation. If the preference is to start a new conversation, feel free to shout.

    Selecting the Inter font from Customizer for headings does not appear to take effect. For example, this is the current setting for h1 headings.

    View post on imgur.com

    When a h1 heading is added to a page, the font does not render. It only applies font type, when explicitly selected. For instance, the details below have to be set.

    View post on imgur.com

    This isn’t expected behavior as the font has already been selected for all h1 elements.

    #1514132
    Elvin
    Staff
    Customer Support

    Hi vast,

    This topic is resolved for the topic starter.

    Can you open up a new topic regarding this? Please add all the details there including the site you’re currently working on so we could check.

    Your particular issue maybe different from this one which may require us to ask for details that you may need use for a Private Information text area.

    We’ll make sure to address you on the topic you’ve started.

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