Topic: double nav size edit

weshuiz13 pro asked 6 years ago


acording to https://mdbootstrap.com/layout/bootstrap-navigation/#f-s-n-n i have to chance the padding-left from default 240px to something else if i chance the with of the sidebar setting it to 240 sets it to the center it should not chance as this is the default ahcning the width of side-nav also messes up if i try chance it the the coresponding info might be rong or me not understanding what classes i have to target and chance all i need is set the sidebar with to 30% for some reason the info i get from mdbs is rong and does not fit the chances i make

weshuiz13 pro answered 6 years ago


it is fixed already took a whole other route thx for your help

Ollie Vincent pro answered 6 years ago


Hi, I might be understanding you wrong but you can change the width of the sidenav like this: .side-nav{width:your-width;} and then add the exact same padding-left to your content as what you have set as the width.

weshuiz13 pro commented 6 years ago

you are partly correct my problem is the sidebar in the double nav header, main, footer { padding-left: 240px; } @media only screen and (max-width : 992px) { header, main, footer { padding-left: 0; } } default 240 scew's up the title and the content all i need is chance the with of the sidebar from the douuble menu without screwing over the main or the nav

Ollie Vincent pro commented 6 years ago

Can you share your full code? Or a screenshot of the problem / expected result

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

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