Private: Home › Forums › HTML Templates › Mixed Modern and Professional HTML Template › Changing width of when Menu Bar is replaced by Open Menu Button › Reply To: Changing width of when Menu Bar is replaced by Open Menu Button
March 15, 2015 at 10:51 pm
#2518
Participant
Hello,
To display the dropdown menu on mobile phones, edit line 443 of responsive.css where it’s written:
.collapse.navbar-collapse{
width: 100%;
margin-bottom: 20px;
}
Modify the upper code to look like following:
.collapse.navbar-collapse{
width: 100%;
margin-bottom: 20px;
visibility: visible;
display: block;
}
If you want to center the menu button under the logo, modify the code at line 438:
#dl-menu{
display: block;
max-width: 260px;
}
To look like
#dl-menu{
display: block;
max-width: 260px;
float: none;
margin: 0 auto;
}
I can’t see the white space above the picture. Could you post a screenshot and write which browser are you using?
Robert