I’ve been playing around with Bootstrap for sometime. While I’ve always been able to get everything working. I’ve been considering it for an upcoming project which requires an affixed side-nav exactly like the one present in the Twitter Bootstrap doc.
I’ve even tried to include these classes to my element.
<ul class="nav nav-list affix-top">
Any bootstrap mavens here who could help me figure out what I’d need to add to get these up and working. Also, I’ve been unable to get the chevrons to display exactly as done over there, my chevrons always get mashed up together with the text.
Have you remembered to turn it on in JS?
They use:
, but you’ll need to change the selector to whatever your need.
Ah, now you’ve rephrased what you want!
They have another class on that called
.bs-docs-sidenavThey then add a class called
activeto the li, then specify the behaviour of that here:So in short, that isn’t a built in function of bootstrap.