React font family
Assalam o Alaikum i want to change font family of of React demo 2 in metronic 8. I have apply the same method as in video but font family not change. Provide me solution to change font family in react
Replies (1)
Hi,
Thank you for reaching out to us.
Please make sure that you made steps below correctly.
- Import your font style to Metronic React version, by default, we are using Inter font style from Google fonts, we are importing it in file
public/index.html
.<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700"
/> - Then in file src/_metronic/assets/sass/core/components/_variables.scss you need to update variable
$font-family-sans-serif
.
Regards,
Lauris Stepanovs,
Keenthemes Support Team