I have this page where you click on a text block, the box opens comments below it. The row below it shifts down then. Problem is that ALL columns in the row below shift down, which creates a ton of whitespace.Only 1 should shift down (the one below the expanded cell). Is there a way to do this with bootstrap 3?
            Asked
            
        
        
            Active
            
        
            Viewed 245 times
        
    0
            
            
        - 
                    Can you post the relevant code into your question? – dethtron5000 Mar 10 '14 at 17:53
 
1 Answers
0
            Yes, you need to change the layout of your grid. you wouldn't lay them out 3 across to a row, you would lay them out going down in columns.
<div class="row">
    <div class="col-sm-3">
        <div class="idea-block"> ... </div>
        <div style="display: none;" class="comment-area"> ... </div>
        <div class="idea-block"> ... </div>
        <div style="display: none;" class="comment-area"> ... </div>
    </div>
    <div class="col-lg-6">
        <div class="row">
            <div class="col-lg-6">
                <div class="idea-block"> ... </div>
                <div style="display: none;" class="comment-area"> ... </div>
            </div>
            <div class="col-lg-6">
                <div class="idea-block"> ... </div>
                <div style="display: none;" class="comment-area"> ... </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                [here's where to put the picture of  
                the car spanning 2 columns, so  to speak]
            </div>
        </div>
    </div>
    <div class="col-sm-3">
        <div class="idea-block"> ... </div>
        <div style="display: none;" class="comment-area"> ... </div>
        <div class="idea-block"> ... </div>
        <div style="display: none;" class="comment-area"> ... </div>
    </div>
</div>
Make sense?
        Ted
        
- 14,757
 - 2
 - 41
 - 58
 
- 
                    
 - 
                    @user2475825 I edited the example above to clarify. I tested it locally and it works fine. HTH :) – Ted Mar 11 '14 at 13:21
 - 
                    Brilliant, works like a charm! I wish I could upvote your answer, but I need 15 rep points here on SO. Thanks. – user2475825 Mar 11 '14 at 14:09