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!

desarrollo@fersoft.es free asked 5 years ago


I would like to change the letter of the @ font-face so that it is not the roboto, and is one selected by me. As much as I try, it always gives me an error in the browser console and I do not want it to come out. in the mdb.css or mdb.min.css file, simply where the @ Font-face is declared, I wish I did not have to add the letters Roboto


Marta Wierzbicka staff answered 5 years ago


Hi,

mdb.css is one big file with our styles. It is hard to do modifications in this file, that's why we use many small scss files and compile to the mdb.css. This is an easy way to maintain our code. Anyway, if you want to change the font in mdb.css, you have to find in your file this code: enter image description here

And replace these default URLs with your own font URLs.

Best, Marta



Hello,

I am using css and not scss, so I tried to change the "@ font-face" in the file mdb.css or mdb.min.css and still I can not get it to read another letter other than "Roboto", any solution?


Marta Wierzbicka staff answered 5 years ago


Hi,

for manipulating with fonts, please use MDB Gulp package version and please go to scss/core/typography.scss and change @font-face to your own font type.

Best, Marta


desarrollo@fersoft.es free commented 5 years ago

Hello,

I am using css and not scss, so I tried to change the "@ font-face" in the file mdb.css or mdb.min.css and still I can not get it to read another letter other than "Roboto", any solution?



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: Other
  • MDB Version: -
  • Device: PC
  • Browser: Google Chrome
  • OS: WIndows 10
  • Provided sample code: No
  • Provided link: No