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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:46:48+00:00 2026-06-09T07:46:48+00:00

I am trying to get bootstrap’s rows to work inside of a hero-unit. I

  • 0

I am trying to get bootstrap’s rows to work inside of a hero-unit. I tired following this example How to display a thumbnail in the hero unit with Bootstrap? but it doesn’t appear to work. I only get 1 column in the hero. My guess is that the padding is causing the columns to wrap because it appears to align correctly when setting padding to 0, but I’m not sure how to work around that correctly.

<div class="hero-unit" style="padding: 15px;">
    <div class="page-header">
        <h2>
            Example Page Header
            <small>Example Sub Header</small>
        </h2>
    </div>

    <div class="row">
        <div class="span4">
            <img src="http://placehold.it/360x268" alt="">
        </div>

        <div class="span8">
            test
        </div>
    </div>
</div>
  • 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-09T07:46:50+00:00Added an answer on June 9, 2026 at 7:46 am

    Alex,

    If you’re using the bootstrap-responsive.css, or the fluid template, then you apply the following markup.

      <div class="hero-unit">
        <div class="row-fluid">
            <div class="columnA pull-left">
                 <h2>Column A</h2>
                <img src="http://placehold.it/500x300.png"/>
            </div>
    
            <div class="columnB pull-right">
                 <h2>Column B</h2>
                <img src="http://placehold.it/500x300.png"/>
            </div>
    
        </div>
      </div>
    

    Then insert the following style in the head.

      .columnA,
      .columnB{
        width: 500px;
    
      }
    

    The codes above shall output a document similar to the image below:

    enter image description here

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

Sidebar

Related Questions

I have been trying to get Twitter Bootstrap btn-group with dropdown to work for
I can't get javascript to work with Twitter's Bootstrap. I've got this <p> <a
I am trying to get a simple bootstrap's modal sample to work, I follow
I'm trying to get this exact example working on my website: http://getbootstrap.com/2.3.2/javascript.html#buttons However, simply
I'm trying to get bootstrap tool tips working in a simple example. Here's a
I'm trying to get this to work: link_to(#, class: add_fields btn btn-success) do name
I'm trying to get twitter bootstrap's .popover working within a .submit jquery event but
I am trying to use Twitter Bootstrap for GWT and get the same nice
I am trying get Struts 2 and Tiles to work and I am using
I'm trying to implement routes into my bootstrap file with this code ; protected

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.