0

I am using Drupal Bootstrap and to get the correct positioning I am using bootstrap rows and columns classes.

How do I render a bootstrap row class on every let's say 3 view rows (bootstrap columns)? The structure must be like this

<div class="row">
  <div class="views-row col-md-4"></div>
  <div class="views-row col-md-4"></div>
  <div class="views-row col-md-4"></div>
</div>
<div class="row">
  <div class="views-row col-md-4"></div>
  <div class="views-row col-md-4"></div>
  <div class="views-row col-md-4"></div>
</div>
0

You add class in Unformatted list formate .enter image description here

and your class show like this

enter image description here

0

Use views bootstrap module, in views format style chose Bootstrap Grid it will solve your problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.