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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:12:52+00:00 2026-06-03T05:12:52+00:00

I created a custom grid with Twitter Bootstrap 2.0, and I’m trying to figure

  • 0

I created a custom grid with Twitter Bootstrap 2.0, and I’m trying to figure out how to update the grid to allow me to use 1/3 and 1/2 columns.

It looks like with 1.0 you could just use:

<div class="span-one-third"></div>

Has anyone been able to figure out a way to do something similar with 2.0, or am I overlooking something?

Thanks

  • 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-03T05:12:53+00:00Added an answer on June 3, 2026 at 5:12 am

    For newer versions (since v2), just use the span4 or col-xx-4 columns, since it is a 12 column grid.

    For bootstrap 2:

    <div class="span4"></div>
    

    For bootstrap 3 (example):

    <div class="col-sm-4"></div>
    

    ORIGINAL AND OUTDATED ANSWER

    Just to make clear, this answer was to maintain the compatibility to applications that had the HTML using Bootstrap v1, that didn’t have any responsive stuff and where the grid was 16 columns (when they changed that, some projects that already used v1 started using the new v2 version costumized with 16 columns). And they actually had .span-one-third, etc, css classes.

    Just implement the old values from the bootstrap v1 css (with grid 16), as v2 doesn’t implement it anymore.

    .span-one-third{width:300px;}
    .span-two-thirds{width:620px;}
    .offset-one-third{margin-left:340px;}
    .offset-two-thirds{margin-left:660px;}
    

    And now u can still have the span-one-third and span-two-thirds classes. This was extracted from Bootstrap code: https://github.com/twbs/bootstrap/blob/v1.3.0/lib/scaffolding.less#L133

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

Sidebar

Related Questions

i created a custom menu called top-navigation. Now I'd like to style it with
I created a custom menu called sub-top-nav and now I'd like to override the
I have created a custom data grid control. I dragged it on windows form
I've created a custom swing component. I can see it (the grid from the
I've created a custom control for MahTweets which simplifies/unifies the look of each update
I have created one gridview and use custom adapter for that. I added two
I have created one gridview and use custom adapter for that. I added two
I am working on a simple GPS-like app. I created a custom object which
I created a module that used a custom widget/grid/column for my admin grid to
I have created a custom control that simply draws a grid of squares on

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.