Comments jbjacob started the conversationAugust 10, 2021 at 1:23pmHi, 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,840Tahir repliedAugust 10, 2021 at 6:25pmHey 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 1 Likejbjacob repliedAugust 11, 2021 at 7:23amThanks. 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,959Andrew repliedAugust 11, 2021 at 7:34amHey Jacob, Salient > General Settings > Custom CSS Code . These are saved in the WP Database and not in a file. Best1 Like 7dickytall repliedNovember 12, 2021 at 4:15pm@tahir, pls update the article on custom fonts then, because your old way isn't working anymore, just wasted an hour on this... Sign in to reply ...
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" );
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
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
Hey Jacob,
Salient > General Settings > Custom CSS Code . These are saved in the WP Database and not in a file.
Best
@tahir, pls update the article on custom fonts then, because your old way isn't working anymore, just wasted an hour on this...