treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Bootstrap nav bar question

  • Hello,

    I am attempting to make a nav bar in bootstrap.

    When the menu resizes for tablets and phones is there a way to make the user button area stay at the top instead of being the last item in the menu list?

    http://joannfitzpatrick.com/tcs_menu/tcs_nav.html

    Thank you for your help in advance. JoAnn

    Thank you for your help in advance. JoAnn

  • Try this:

    The div with the class of nav-collapse disappears at small screen sizes. The user button (the nav tag with the class of user) is inside of the nav-collapse div. If you move it outside of that div (maybe underneath the Brand Name), it shouldn't disappear anymore.

    That's untested, but it should work, unless something wacky is going on.