How to change custom font-family ?


Topic: How to change custom font-family ?

nCoder asked 3 years ago

How to change the body font to custom a google font say Barlow (@import url('https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed');, i did check typography.css, but couldn't figure out exactly how, could you please provide the exact code and the file name as to where to change it ?


Marta Szymanska staff pro premium answered 3 years ago

Hi,

have you uploaded your custom font files as we do with Roboto? Please, look at the screenshot:

https://mdbcdn.b-cdn.net/img/screens/forum/1.png

Best,

Mrta


tattoodxb answered 3 years ago

where should it be uploaded? im facing the same issue with mdb angular. no docs or instructions that shows how to use custom fonts


Marta Szymanska staff pro premium answered 3 years ago

Hi,

here you can find the answer how to change the default font in MDB Angular: https://mdbootstrap.com/support/angular/how-change-default-font/.

Best,

Marta


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Macbook
  • Browser: Chrome
  • OS: MacOSX
  • Provided sample code: No
  • Provided link: No