Topic: Font Roboto
desarrollo@fersoft.es asked 6 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 Szymanska staff pro premium answered 6 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 commented 6 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?
desarrollo@fersoft.es answered 6 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?
Marta Szymanska staff pro premium answered 6 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:
And replace these default URLs with your own font URLs.
Best, Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: Other
- MDB Version: -
- Device: PC
- Browser: Google Chrome
- OS: WIndows 10
- Provided sample code: No
- Provided link: No