Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to change the font-family roboto?

gerencser17@gmail.com free 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.


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


Marta Wierzbicka staff 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 free 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.



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

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Laptop
  • Browser: Firefox
  • OS: Windows
  • Provided sample code: No
  • Provided link: No