-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap navbar collapse default #18
Labels
Comments
responsive.scss.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! If you want to have the default navbar collapse from Bootstrap you must follow the following steps:
You must go in you're html page and put inside of tag
nav
on tagbutton
the attributedata-target="#navbar-collapse"
, then you go on<div class="navbar-collapse"></div>
and add to this theid="navbar-collapse"
.Now you have to take the uploaded file
_responsive.scss
and replace inassets/sass/material-kit/_responsive.scss
with the new one._responsive.scss.zip
Again you have to take the uploaded javascript file
material-kit.js
and replace inassets/js/material-kit.js
with the new one.material-kit.js.zip
In the final you must compile you're scss with Koala. Please make sure that you're output path is
HTML/assets/css/material-kit.css
.To go back on our style of navbar-collapse just put in html page on
body
tag the class.off-canvas-menu
and then you have to remove from div with class.navbar-collapse
theid="navbar-collapse"
, and everything will work fine.Regards,
Dragos
The text was updated successfully, but these errors were encountered: