Okay
  Public Ticket #1975461
Custom Fonts
Closed

Comments

  • bananas7 started the conversation

    Hello, I want to add my custiom .otf-Font to Salient and doesn't understand the provided code in the support forum, here below:

    function salient_redux_custom_fonts( $custom_fonts ) {    return array(        'Custom Fonts' => array(             'futura-pt,sans-serif' => "Futura PT"        )    );
    }
    add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );


    Which code must be implemented to make it working with Salient & Salient-WPBakery?

    The font is already uploaded and up-and-running, BUT with custom CSS. I'm building a church-website with many volunteers who don't have a clue what CSS is and need to click the right header with the right font.

    Thank you very much for help!


    Best wishes,

    Dennis Kast

  •  8,996
    Tahir replied

    Hey Again,

    Please have a look at this Article :Add a Custom Font. The code snippet only adds the font to the Typography panel however the font weights are limited.

    Best


    ThemeNectar Support Team