Topic: SideNav width: How to control
                  
                  caliph007
                  pro
                  asked 8 years ago
                
                For my current layout the SideNav has too much width. How can I control it?
<div id="slide-out" className="side-nav fixed">
          <Col>
          </Col>
          <div className="sidenav-bg mask-strong"></div>
   </div>
 
                
                  
                
                
                
                  
                  
                  
                    
                    
                
              
              
              
            
                      
                        Add comment
                      
                    
                  
                
                      
                      Mikołaj Smoleński
                      staff
                        answered 8 years ago
                    
                    Hello caliph007,
In Your stylesheet please write this code to control SideNav's width (in my example it is 140px):
                    
                    
                    
                    
                  
                  
                .side-nav, .side-nav .logo-wrapper a {
 width: 140px;
}
You can also change padding for Your brand logoto make it bigger.
Regards
 
                    
                      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