Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7831287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:39:33+00:00 2026-06-02T11:39:33+00:00

I am trying to do a site using twitter bootstrap. I am having relatively

  • 0

I am trying to do a site using twitter bootstrap. I am having relatively less menus, so it kind of fits within the 768px display also. But in bootstrap by default, the menu collapses using media queries. I am not able to prevent this behavior.

The menu when not collapsed

Then menu collapses ones width less than 768px

This is my html

<div class="row">
    <div class="span3 logo"><h1><img src="img/logo.png" /></h1></div>
    <div class="span9">

        <div class="navbar">
          <div class="navbar-inner">
            <div class="container">
         <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
              <div class="nav-collapse">
                <ul class="nav nav-pills">
                  <li><a href="#">Home</a> </li>
                  <li><a href="#">Services</a> </li>
                  <li><a href="#">Portfolio</a> </li>
                  <li><a href="#">Contact Us</a> </li>
                </ul>
              </div>
            </div>
          </div>
        </div>



    </div>
    </div>

I know it has something to do with the media query in bootstrap, but not able to understand.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:39:41+00:00Added an answer on June 2, 2026 at 11:39 am

    You’ll want to read up the section: Using the media queries at the bootstrap site:
    http://getbootstrap.com/2.3.2/scaffolding.html#responsive (Bootstrap 2.3.2)
    http://getbootstrap.com/getting-started/#disable-responsive (Bootstrap 3)

    You’ll want to use the relevant media queries to override the styles bootstrap adds when your viewport shrinks.

      // Landscape phones and down
      @media (max-width: 480px) { ... }
    
      // Landscape phone to portrait tablet
      @media (max-width: 768px) { ... }
    
      // Portrait tablet to landscape and desktop
      @media (min-width: 768px) and (max-width: 980px) { ... }
    
      // Large desktop
      @media (min-width: 1200px) { .. }
    

    If you don’t want the navbar to collapse, remove the ‘collapse’ from the class name. You should probably get rid of:

    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    

    In short, have a look over the docs, there’s a section covering this exact thing titled ‘Optional responsive variation’ here:
    http://getbootstrap.com/2.3.2/components.html#navbar (Bootstrap 2.3.2)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to display the source code of the site using Google App
I've been using Twitter Bootstrap to build a site, and a lot of its
I am using twitter bootstrap for my site. I would like to use progress
Im trying to implement commenting on my site using the comments framework. I've followed
I am trying to develop a site using pinax. To index the models using
I'm trying to POST to a secure site using WinHttp, and running into a
I'm trying to theme a Spree site using deface. Deface uses css selectors to
I'm trying to develop a site using Zend Framework, but i have a problem:
Im trying to build call to action button on my site using jQuery. I
I'm trying to pullout some info from an external site using jQuery and Adobe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.