Tagged: 

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

    Hi, is it possible to have a custom web font present in the Theme Options various places where we can choose a font?

    I’ve seen several tickets on adding more Google Fonts, but in this case i want to add a custom font.

    This would be great to include as a feature.

    Thanks

    #832645

    Hey helderluis,

    Please refer to this link http://wpsites.net/web-design/fonts-wordpress/

    or if you like to add a single font an alternate solution is to use a plugin like https://wordpress.org/plugins/use-any-font/

    Best regards,
    Jordan Shannon

    #832686

    Hi Jordan, maybe i explain me wrong…

    I want to be able to use at least 2 custom web fonts in the the Enfold Theme Options.

    I’ve seen several functions for Google Fonts that one could include in the child theme functions.php file but not for custom fonts.

    add_action( 'wp_enqueue_scripts', 'wpsites_google_fonts' );
    function wpsites_google_fonts() {
    wp_enqueue_style( 'gfonts', '//fonts.googleapis.com/css?family=Oswald|Open+Sans', array(), CHILD_THEME_VERSION );
    }

    Can you help me on that?

    #833169

    Hi,

    It’s only possible with Google fonts at the moment unfortunately, if you want some other font then you would have to use CSS to import it manually.

    Best regards,
    Rikard

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