clevertech / YiiBooster

YiiBooster
BSD 2-Clause "Simplified" License
544 stars 305 forks source link

TbNavbar missing feature #269

Open jupiter2000 opened 11 years ago

jupiter2000 commented 11 years ago

When setting 'collapse' => true, it seems to be an all or nothing design. I'd love to see an option to put certain items (ex: Login) outside of the nav-collapse.

tonydspaniard commented 11 years ago

I do not think Bootstrap supports that by default, you will have to configure it yourself. Maybe when you find out, can share with so I can include it in the extension.

For that reason I keep this issue open and tag it as an enhancement

jupiter2000 commented 11 years ago

At http://twitter.github.com/bootstrap/components.html#navbar under "Responsive navbar" the comment says "Everything you want hidden at 940px or less, place within here", while the .btn-navbar and brand are outside and still visible. So logically you can put other items outside, there are a number of stackoverflow discussions about it as well such as: http://stackoverflow.com/questions/12908022/content-outside-collapsible-portion-of-responsive-twitter-bootstrap-navbar Here is an example of how to do it: http://jsfiddle.net/RmJWy/