Topic: How change default font.
Mynarski pro asked 6 years ago
Hey,
How/where we can change default Robo font in mdbootstrap for angular?
Add comment
Damian Gemza staff answered 6 years ago
Dear Mynarski,
You could try to add a body style in styles.scss file, and in this body styles you could try to use some other font.
Please check my below code - I changed the Roboto font to some other font from fonts.google.com:
index.html:
styles.scss:
Best Regards,
Damian
<link href="https://fonts.googleapis.com/css?family=Spicy+Rice"rel="stylesheet">
body { font-family: 'Spicy Rice', cursive; }
ras free commented 4 years ago
Hi, is this relevant today and for MDBootstrap jQuery cause i did this but the font is still Roboto ?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: Desktop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No