How to change the font-family roboto?


Topic: How to change the font-family roboto?

gerencser17@gmail.com asked 6 years ago

How can I change the font-family roboto to one I have downloaded and included in my fonts folder? I have put everything in CSS as always however it doesn´t apply it to any element (nor navbar nor pharagraphs etc) although I speicify which element I wish to apply the new font-family.


Marta Szymanska staff pro premium answered 6 years ago

Hi,

have you seen this forum thread: https://mdbootstrap.com/support/general/how-to-change-custom-font-family/?

Best,

Marta


bubbakush4 commented 4 years ago

That thread does not answer the question and only send you to another page for a thread about Angular.

Please provide specific instructions for changing the font family in MDB React PRO.


Krzysztof Wilk staff answered 4 years ago

Hi @bubbakush4!

You can do it using CSS in your style.css or index.css file. Just add

body {
font-family: "Lucida Console", Monaco, monospace;
}

to your styles. Font type is up to you :)

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

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