Closed patrickgordon closed 10 years ago
You can pass a block and override it:
https://github.com/seyhunak/twitter-bootstrap-rails/blob/master/app/helpers/navbar_helper.rb#L115
Yep.. On the train this morning I was like "oh wait..." I shouldn't code late at night. Thanks again mate.
edit:
for anyone else you just make the navbar have :fluid => true
e.g. <%= nav_bar :fixed => :top, :brand => "Example", :responsive => true, :fluid => true do %>
Got a question on how to do something. If there is a more appropriate place (stackoverflow?) let me know...
How would I go about removing the container in the navbar helper?
Currently this:
<%= nav_bar %>
Renders:
I'm after something like:
So instead of:
It would look something like
Thanks for any help in advance. Absolutely love this gem. Top notch.