Ruby on Rails
Saturday, August 26, 2017
From code you provided I assume you're using Bootstrap 3.
Do you have this inside <div class="navbar"></div> element? There's a working example in Bootstrap's documentation - https://getbootstrap.com/docs/3.3/components/#navbar.
On Sat, Aug 26, 2017 at 4:41 PM, fugee ohu <fugee279@gmail.com> wrote:
--
<div class = "navbar-header">
<button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = "#navbar-collapse">
<span class = "sr-only">Toggle navigation</span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
</button>
</div>
Although I have this code in my view the 3 bars don't show when the screen is small
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .30665520-8c0d-4e36-a4b8- 47405af616c6%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
Rolandas
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHP7vzCrKFEFRANPLKypPeVwjuGezirxAXgxK3DZp2rt1ny1wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment