You are here

bootstrap-6-6-bricks.html.twig in Bootstrap Layouts 8

<div class="row">
    {% if content.top %}
    <div class="col-sm-12">
        {{ content.top }}
    </div>
    {% endif %}

    {% if content.upper_left %}
    <div class="col-sm-6">
        {{ content.upper_left }}
    </div>
    {% endif %}

    {% if content.upper_right %}
    <div class="col-sm-6">
        {{ content.upper_right }}
    </div>
    {% endif %}

    {% if content.middle %}
    <div class="col-sm-12">
        {{ content.middle }}
    </div>
    {% endif %}

    {% if content.lower_left %}
    <div class="col-sm-6">
        {{ content.lower_left }}
    </div>
    {% endif %}

    {% if content.lower_right %}
    <div class="col-sm-6">
        {{ content.lower_right }}
    </div>
    {% endif %}

    {% if content.bottom %}
    <div class="col-sm-12">
        {{ content.bottom }}
    </div>
    {% endif %}
</div>

File

templates/bootstrap-6-6-bricks.html.twig
View source
  1. <div class="row">
  2. {% if content.top %}
  3. <div class="col-sm-12">
  4. {{ content.top }}
  5. </div>
  6. {% endif %}
  7. {% if content.upper_left %}
  8. <div class="col-sm-6">
  9. {{ content.upper_left }}
  10. </div>
  11. {% endif %}
  12. {% if content.upper_right %}
  13. <div class="col-sm-6">
  14. {{ content.upper_right }}
  15. </div>
  16. {% endif %}
  17. {% if content.middle %}
  18. <div class="col-sm-12">
  19. {{ content.middle }}
  20. </div>
  21. {% endif %}
  22. {% if content.lower_left %}
  23. <div class="col-sm-6">
  24. {{ content.lower_left }}
  25. </div>
  26. {% endif %}
  27. {% if content.lower_right %}
  28. <div class="col-sm-6">
  29. {{ content.lower_right }}
  30. </div>
  31. {% endif %}
  32. {% if content.bottom %}
  33. <div class="col-sm-12">
  34. {{ content.bottom }}
  35. </div>
  36. {% endif %}
  37. </div>