Bootstrap3 navigation bar, hamburger menu not interactive
Permalink
I've created a BS3 navigation bar in a HTML block.
http://lowcosttest2.co.uk/
It's responsive, i.e. the menu items collapse into a single "hamburger menu"
But clicking on the menu has no effect. It does not show the menu items.
Like here... http://www.bootply.com/M1vzpi0K8N#...
What am, I doing wrong? Why doesn't it work from within Concrete?
http://lowcosttest2.co.uk/
It's responsive, i.e. the menu items collapse into a single "hamburger menu"
But clicking on the menu has no effect. It does not show the menu items.
Like here... http://www.bootply.com/M1vzpi0K8N#...
What am, I doing wrong? Why doesn't it work from within Concrete?
You're missing the bootstrap-theme.min.css
It is actually there. It's imported in one of the css files.
@import url('http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css');
@import url('http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css');
I needed to include the BS3 js script too :)
It works now, thanks :)
It works now, thanks :)
Well.....
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
Including the bootstrap.min.js file seems to have broken editing of the site.
I can't go in and edit the padding, for example, as none of the options are clickable.
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
Including the bootstrap.min.js file seems to have broken editing of the site.
I can't go in and edit the padding, for example, as none of the options are clickable.
That's because the core already includes bootstrap when you're logged in. You should check out the docs on assets.
So only include it when not logged in?
That appears to work. :)