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 8393931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:56:01+00:00 2026-06-09T19:56:01+00:00

I am new to responsive design, I am toying with twitter bootstrap responsive.css now.

  • 0

I am new to responsive design, I am toying with twitter bootstrap responsive.css now. And I am encountering some trouble with my project.

The trouble is, my left column won’t collapse (if that’s the right term), or won’t stack up. What I want is, the left column shall shift below the span8 column and resize it’s width. What it does for now is, left column’s width decreases and squeezing all it’s contents inside it. I am targeting mobile screen size of 768×1024 media screens.

My basic markup for the layout is, span8 for the left and span4 for the right. span4 is where my other blocks is.

<div class="row">
<div class="span8">
    some block with contents
</div>

<div classs="span4">
    <div class="sideBlock"><!--fluid width was set-->
        <img src="http://placehold.it/298x77">
    </div>
</div>

My main question is, how do we target a specific screen size using media queries (using twitter bootstrap). And then customize it to fit our needs?

  • 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-09T19:56:02+00:00Added an answer on June 9, 2026 at 7:56 pm

    I finally got this one, by reading articles from blogs and stack overflow questions that had been answered, and articles posted from your comments on this question.

    Based from common Breakpoints and View-ports for Mobile devices, i.e. 1200px wide viewport for large destkops, I have to insert my own style in a media query.

    I.E., @media (min-width) {mystyle here}

    @media (min-width: 1200px) {
          .myContainer {
               width: 960px;
               margin: 0 auto;
    
          }
          .myleftBlock-should-collapse {
               float: none;
               width: 100%;
          }
    
     }
    

    Since I am using the Twitter Bootstrap Responsive.css file, I need to customize the media query for certain viewport, so that It will fit to my design needs.

    Well since I am designing a fixed-width of 960px, I will customize and re-calculate the widths for my .container and span classes. I will convert pixel to percent base from my base width of 960px.

    So whatever block or element that I would want to collapse, hide or show in certain viewports, shall be styled accordingly inside the media query.

    And… New thing I learned about responsive design. Screen size is different from Viewport.

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

Sidebar

Related Questions

In Simon Collison's new old Responsive Web Design , in the CSS, there are
Twitter's Bootstrap 2 finally added native responsive design. However, by default when the browser
I'm quite new to the server-client design now I'm using web service to communicate
During the design of a new generic authentication framework for some of our products,
i am comparing responsive design templates for my new mvc 4 web app. so
I'm trying to come up with a clean database design for a new project
I'm trying to just flat out kill my responsive Web Design and CSS3 Media
I'm writing some new code that involves POP3 manipulation. I'm trying to come up
i have a photoshop psd-file (opened with PS-CS4) with a new design for a
I chose to expose some new behavior using composition vs. injecting a new object

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.