Topic: Custom Font
aurpine free asked 8 years ago
I know this may be counterproductive of using Material Design, but is there a way to change the default font? Bootstrap has the feature to customize less variables. But with that, the fonts will be overridden by MDB.
Thanks.
Add comment
Michal Szymanski staff answered 8 years ago
Go to the sass/mdb/free/_global.scss and remove line
font-family: Roboto, sans-serif;
from the body
. Then compile sass to the new, css file.
If you don't use sass you can find that line of code directly in the mdb.css file and remove it there.
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: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No