this is your column class:
md: 4 (image) - 8 (name) => 1st row (maximum 12 columns)
8 (content) => new line
which will create a new row, a second row below the image / title column So you should use this column setting (using a hidden class) as follows:
md: 2 (image) - 5 (name) - 5 (hidden-xs hidden-sm)
5 (content)
just try this code:
CSS
<style> .col-md-2{ height: 300px; background-color: blue; color: white; border: 2px solid red; } .col-md-4{ height: 100px; } .col-md-5{ height: 100px; background-color: red; color: white; border: 2px solid black; } </style>
HTML:
<article class="row"> <header class="col-md-5 col-md-push-2"> <a href="#"> <h2>Title</h2> </a> </header> <div class="col-md-2 col-md-pull-5"> <figure> <a class="thumbnail" href="#"> <img src="" alt="4x3 Image" class="img-responsive"> <figcaption>Caption</figcaption> </a> </figure> </div> <div class="hidden-xs hidden-sm"> <div class="col-md-4"></div> </div> <div class="col-md-5 col-md-pull-5"> <p>Content</p> </div> </article>
maybe this will not solve the problem. but you can use this trick.
sorry for my bad english
source share