Topic: Font family and font size in SideNav
Vitali R. pro asked 6 years ago
Hi there,
I would like to ask you guys for help. I need the css code, that I can add to style.css file in order to change the SideNav font family and font size.
/* Your custom styles */ @import url('http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700,800'); body { font-family: 'Open Sans', sans-serif; font-weight: 300; }Please make sure not to send me anything simmilar to the examples above (*, html and body) that apply for all the document, I need a solution only for SideNav!
Add comment
Vitali R. pro answered 6 years ago
If someone needs it, here is the working code:
.side-nav .collapsible .collapsible-header { font-family: 'Open Sans'; font-size:1rem; }
Marta Wierzbicka staff answered 6 years ago
Hi,
this code added to style.css works for me:
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700,800');
.side-nav {
font-family: 'Open Sans', sans-serif;
font-weight: 300; }
Best,
Marta
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 jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags