menuWidth side nav option not working


Topic: menuWidth side nav option not working

Brandon Matthews asked 5 years ago

I want to change the width on the side nav so, following the documentation I put the option for menuWidth in the sideNav initialization selector.

I tried a bunch of different option on the list and they all are working except for the menuWidth option.

Heroku Site: https://miss-amazing-marketing-site.herokuapp.com/chapters/AR

$(document).ready(function () {
// SideNav Initialization
$('.button-collapse').sideNav({
    menuWidth: 400,
});
// SideNav Scrollbar Initialization
var sideNavScrollbar = document.querySelector('.custom-scrollbar');
var ps = new PerfectScrollbar(sideNavScrollbar);

$('.stepper').mdbStepper();


// Data Picker Initialization
$('.datepicker').pickadate({
    selectYears: 100,
    format: 'yyyy-mm-dd',
});

});


Grzegorz Bujański staff commented 5 years ago

Hi. It's hard to say why this doesn't work on your site. I check it many times and everything works well in my test page.

Best, Grzegorz.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes
Tags