Topic: Sidebar collapse in Vue Admin Dashboard Pro

hendrikhrr free asked 3 years ago

Hey guys!

Using your template for "Vue Admin Dashboard Pro" the Sidebar collapses at 1440px width. I'd like to change that so that the sidebar can be always shown and hidden when you click on the hamburger button. One of my approaches was for example just to set $sidenav-breakpoint to a very big number but it didn't work out, yet (cf. screenshot). Can you please tell me what exactly i should do?

Thanks a lot and best regards!

Resources (screenshots, code snippets etc.)![]Changes inside the selected line (cf. screenshot) don't have an impact on the sidebar collapse behaviour

hendrikhrr free answered 3 years ago

Hi Mikolaj,

thanks a lot!


worked out!

But what about the hamburger toggler button? breakWidth has unfortunately no influence when exactly the hamburger is displayed.

hendrikhrr free answered 3 years ago

Seems like this is controlled by the class "button-collapse".

I ve changed it and now it works.

Thank you for your help.

Mikołaj Smoleński staff answered 3 years ago

Hi there,

There is a breakWidth property in SideNav component. As default it is set to 1440. Changing that value should update the breakpoint.

Best regards

hendrikhrr free answered 3 years ago

[This is the sidebar I am talking about (left bar inside the screenshot)]enter image description here

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.2
  • Device: Macbook
  • Browser: Chrome
  • OS: macOS Big Sur
  • Provided sample code: No
  • Provided link: No