Okay
  Public Ticket #2845973
Custom font
Closed

Comments

  • jbjacob started the conversation

    Hi, I have followed this guide to use custom fonts in Salient theme: https://themenectar.ticksy.com/article/9773/

    I don't think the fonts load correctly. Is the path correct? See attached screenshot of folder structure and custom CSS.

    What should the option be in the Salient Typography/Navigation & Page Header be when using custom font? 

    "Do not load default font" or "Load from theme"?


    And here's the snippet:

    function salient_redux_custom_fonts() {
        return array(
            'Custom Fonts' => array(

    'tt_normsbold' => 'tt_normsbold',
                'proxima_novaregular' => 'proxima_novaregular',
                'proxima_novabold' => 'proxima_novabold',
                'proxima_novasemibold' => 'proxima_novasemibold',
            )
        );
    }
    add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );


  •  8,840
    Tahir replied

    Hey jbjacob ,

    Thanks for contacting us.

    Please try using this plugin as its compatible with Sailent: https://wordpress.org/plugins/use-any-font/ . 

    Best


    ThemeNectar Support Team 

  • jbjacob replied

    Thanks. I want to know where the Salient custom CSS code is placed. It's not in the style.css inside the child theme so where can it be?

    /Jacob

  •  2,959
    Andrew replied

    Hey Jacob,

    Salient > General Settings > Custom CSS Code . These are saved in the WP Database and not in a file. 

    Best

  •  7
    dickytall replied

    @tahir, pls update the article on custom fonts then, because your old way isn't working anymore, just wasted an hour on this...