Comments 4Zenako started the conversationFebruary 4, 2022 at 1:19pmHi Guys, is there a way I can get variable fonts to correctly be used in Salient (Ideally so I can go and make changes within the Salient dashboard typography area).I tried using this example as shown in MDNIn Salient Dashboard Settings > CSS/Script Related I have this in 'Custom CSS Code' @font-face { font-family: 'manrope'; src: url('/wp-content/themes/salient-child/fonts/manrope.woff2') format('woff2-variatons'); font-weight: 400 600; font-style: normal;}In functions I have: // Add custom fontsfunction salient_redux_custom_fonts() { return array( 'Custom Fonts' => array( 'manrope' => 'manrope' ) );}add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );When I use this method with individual standard .woff2 font it works fineCheers 1,877Judith repliedFebruary 4, 2022 at 1:43pmHi Zenako, Thanks for keeping in touch. Please allow me to escalate this to the developer to check it out further. Thanks.1 Like Sign in to reply ...
Hi Guys, is there a way I can get variable fonts to correctly be used in Salient (Ideally so I can go and make changes within the Salient dashboard typography area).
I tried using this example as shown in MDN
In Salient Dashboard Settings > CSS/Script Related I have this in 'Custom CSS Code'
In functions I have:
When I use this method with individual standard .woff2 font it works fine
Cheers
Hi Zenako,
Thanks for keeping in touch.
Please allow me to escalate this to the developer to check it out further.
Thanks.