The Easy Layouts module provides a super easy and flexible way to control your layouts with Layout Builder. It gives you the ability to add wrappers, containers, rows, or columns to sections in your layouts.
This module does not provide any styling to your layouts but will rely on your theme's CSS. Out of the box, it works with Bootstrap 4, but it can work with any framework.
Layout Markup
When all elements are enabled, the markup will look like this:
<div class="wrapper">
<div class="container">
<div class="row">
<div class="col">
One column layout
</div>
</div>
</div>
</div>
For each element, you have the ability to:
- Disable element
- Choose the HTML tag
- Add CSS Class(es)
- Add other attributes like ids, roles, or more classes
Layout Options
- EZ One Column
- EZ Two Column
- EZ Three Column
- EZ Four Column
- EZ Five Column
- EZ Six Column
- EZ Seven Column
- EZ Eight Column
- EZ Nine Column
- EZ Ten Column
- EZ Eleven Column
- EZ Twelve Column
Development Workflow
You should create utility CSS classes or reusable component classes that you can reuse across the site. When you add new sections, just add the needed classes.
What if I need different width columns
Below is an example of creating a utility class that converts:
<div class="container">
<div class="row">
<div class="col">
First column
</div>
<div class="col">
Second column
</div>
</div>
</div>
to the equivalent of:
<div class="container">
<div class="row">
<div class="col-md-8">
First column
</div>
<div class="col-md-4">
Second column
</div>
</div>
</div>
Just create a utility class like this:
.layout-2col-md-8-md-4 {
.col:nth-child(1) {
@extend .col-md-8;
}
.col:nth-child(2) {
@extend .col-md-4;
}
}
And add layout-2col-md-8-md-4 when configuring your container.
Project information
- Project categories: Content display
- Ecosystem: Layout
28 sites report using this module
- Created by albertski on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

