Entries show in one column after updating GravityView
If your View showed entries in a grid of two, three, or four columns and now shows every entry stacked in a single column, this article explains why and how to get your columns back. It applies to grid CSS written for the View’s container, on sites that updated to GravityView 3.5.0 or later, the DIY Layout 2.6.0 or later, or GravityView Maps 3.11.0 or later.
You may have noticed it as one of these:
- A directory or card layout that “used to be 4 columns and is now stuck at one”
- Custom CSS columns that stopped working, even though the CSS is still in place
- Entries that no longer wrap to the next row
- Borders, backgrounds, or spacing that no longer reach the entries

Why your grid stopped working #
GravityView 3.5.0 improved how screen readers announce a View. To do that, it added a new wrapper around the entries: a <section> element with the class gv-entries. A wrapper is an HTML element that contains other elements. The DIY Layout 2.6.0 and GravityView Maps 3.11.0 added the same wrapper to their layouts.
Most grid CSS turns the View’s container into a grid. Before the wrapper, the container’s children were the entries, so each entry took its own grid cell. With the wrapper, the container’s child is the gv-entries section, and every entry is inside it.
Here is the change for a List View:
<!-- Before GravityView 3.5.0 -->
<div class="gv-list-multiple-container">
<div class="gv-list-view">…</div>
<div class="gv-list-view">…</div>
</div>
<!-- GravityView 3.5.0 and later -->
<div class="gv-list-multiple-container">
<section class="gv-entries">
<h2 class="gv-entries-title screen-reader-text">Results</h2>
<div class="gv-list-view">…</div>
<div class="gv-list-view">…</div>
</section>
</div>On GravityView 3.5.0 and 3.6.x, the grid put that one section in its first cell, and all of your entries stacked inside it. GravityView 3.7.0 fixed this for the Legacy theme. On the List, Layout Builder, and DIY layouts, the section no longer makes a box of its own, so a grid or flex rule on the container lays out the entries again.
Some CSS still needs a change on current versions:
- On the Vantage theme, the theme arranges the entries in the number of columns set in its Columns setting. Grid CSS in your theme’s Additional CSS or a code snippets plugin doesn’t change that. See Option 2.
- CSS that finds entries by their place in the container stops matching. A child selector such as
.gv-list-multiple-container > .gv-list-viewmatches nothing, and:first-childor:nth-child()counts the section’s heading first. See CSS that finds entries by position. - On GravityView 3.5.0 or 3.6.x with the Legacy theme, grid CSS on the container still shows one column. See Option 1.
Option 1: Update GravityView (Legacy theme) #
If the View uses the Legacy theme, update GravityView to the latest version. Grid CSS on the container works again on GravityView 3.7.0 and later.
- In your WordPress dashboard, go to GravityKit, then click Manage Your Kit.
- Find GravityView and click Update if an update is available.
Then clear your page cache and check the View. If some entries still look wrong, read CSS that finds entries by position.
Option 2: Use the Vantage theme’s Columns setting (no code) #
The Vantage theme has a Columns setting that builds the grid for you. This is the fix we recommend, because it does not depend on how the HTML is structured. Columns sets the columns of List, Layout Builder, and DIY Views.
Step 1: Switch the View to Vantage and set the columns
- Go to GravityKit, then All Views, and open the View.
- Scroll to the Settings box below the Layout box, and click the Styles tab.
- Under Theme, click Vantage.
- Under Columns, click the number of columns you want, from 2 to 6.
- Leave Equal Height checked if you want every card in a row to be the same height.
- Click Update.

On GravityView 3.5.0, Columns shows one column. Version 3.6.0 fixed it.
Step 2: Remove your old grid CSS
Your old grid CSS can fight with the Columns setting, so remove it.
- In the same Settings box, click the Custom Code tab.
- In the Custom CSS box, delete the rules that set
display: grid,display: flex,grid-template-columns, or entry widths on the View’s container. - Click Update.
If you added the grid CSS somewhere else, such as your theme’s Additional CSS or a code snippets plugin, remove it there too.
Note: To keep a grid of your own on a Vantage View, put the CSS in the View’s Custom CSS box. GravityView applies that CSS to the View ahead of the theme’s rules, so the CSS in Option 3 works there. The same CSS in your theme’s Additional CSS loses to the theme.

Option 3: Update your custom CSS #
If you want to keep your own design, put the grid on the gv-entries wrapper as well as on the container, and let the wrapper span the container’s whole row. CSS written this way works on every version of GravityView, with or without the wrapper.
For example, change this:
.gv-list-multiple-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
}to this:
.gv-list-multiple-container,
.gv-list-multiple-container > .gv-entries {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.gv-list-multiple-container > .gv-entries {
grid-column: 1 / -1;
}Without the wrapper, the rules for it match nothing and the container stays the grid. With the wrapper, the wrapper takes up the container’s whole row and holds the entries in the same columns.
The same change works for flexbox. If your CSS uses display: flex and flex-wrap: wrap on the container, add the > .gv-entries selector to that rule. In place of grid-column: 1 / -1, give the wrapper flex-basis: 100%. Without it, the wrapper can be narrower than the container, which makes your entries narrower too.
CSS for the List layout
.gv-list-multiple-container,
.gv-list-multiple-container > .gv-entries {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Change 3 to the number of columns you want */
gap: 24px; /* Space between entries */
align-items: start;
}
/* With the entries wrapper, the wrapper spans the whole row */
.gv-list-multiple-container > .gv-entries {
grid-column: 1 / -1;
}
.gv-list-multiple-container .gv-list-view {
min-width: 0;
align-self: stretch; /* Remove this line if you don't want equal heights */
display: flex;
flex-direction: column;
}
.gv-list-multiple-container .gv-list-view-content {
flex-grow: 1;
display: flex;
}CSS for the Layout Builder layout
.gv-layout-builder-multiple-container,
.gv-layout-builder-multiple-container > .gv-entries {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Change 3 to the number of columns you want */
gap: 24px; /* Space between entries */
align-items: start;
}
/* With the entries wrapper, the wrapper spans the whole row */
.gv-layout-builder-multiple-container > .gv-entries {
grid-column: 1 / -1;
}
/* Remove the space GravityView adds between stacked entries */
.gv-layout-builder-multiple-container .gv-layout-builder-view--entry + .gv-layout-builder-view--entry {
margin-top: 0;
}
.gv-layout-builder-multiple-container .gv-layout-builder-view {
min-width: 0;
align-self: stretch; /* Remove this line if you don't want equal heights */
}CSS for the DIY layout
.gv-diy-multiple-container,
.gv-diy-multiple-container > .gv-entries {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Change 3 to the number of columns you want */
gap: 24px; /* Space between entries */
align-items: start;
}
/* With the entries wrapper, the wrapper spans the whole row */
.gv-diy-multiple-container > .gv-entries {
grid-column: 1 / -1;
}
.gv-diy-view {
min-width: 0;
display: flex;
flex-direction: column;
align-self: stretch; /* Remove this line if you don't want equal heights */
}For the Maps layout, use the CSS in How to display GravityView entries in a grid. It selects the entries column by what it holds, so it works with and without the wrapper.
Add the CSS to a View
- Go to GravityKit, then All Views, and open the View.
- In the Settings box, click the Custom Code tab.
- Replace your old grid rules in the Custom CSS box with the CSS above.
- Click Update.
CSS that finds entries by position #
The gv-entries section starts with a heading that only screen readers announce. The heading is positioned outside the page’s normal flow, so it doesn’t take a grid cell. Leave it in place, because removing it makes the View harder to use with a screen reader.
Rewrite selectors like these:
| Selector in your CSS | What happens | Write it as |
|---|---|---|
.gv-list-multiple-container > .gv-list-view | Matches nothing: the entries are inside the section. | .gv-list-multiple-container .gv-list-view |
.gv-list-view:first-child | Matches nothing: the heading is the first child. | .gv-list-view:first-of-type |
.gv-list-view:nth-child(2n) | Counts the heading, so it picks the other entries. | .gv-list-view:nth-of-type(2n) |
The same applies to .gv-layout-builder-view and .gv-diy-view in the other layouts.
Clear your page cache #
After you fix the View, clear every cache on your site. A caching plugin, such as Hummingbird, WP Rocket, or LiteSpeed Cache, can keep serving a copy of the page saved before the fix. When that happens, the View looks right to you while you’re logged in and still shows one column to visitors.
- Clear the cache in your caching plugin.
- If your host or a service such as Cloudflare has its own cache, clear that too.
- Open the page in a private browser window, where you’re logged out, and check the columns.
Still showing one column? #
Check these in order:
| Check | What to look for |
|---|---|
| GravityView version | GravityKit, then Manage Your Kit shows 3.7.0 or later for grid CSS on a Legacy View, and 3.6.0 or later for the Vantage Columns setting. |
| Theme and layout | Columns appears only with the Vantage theme. It sets the columns of List, Layout Builder, and DIY Views. Table and DataTables Views don’t have it. |
| Where the CSS is | On a Vantage View, grid CSS works only in the View’s Custom CSS box. |
| Other CSS | Search your theme’s Additional CSS and any code snippets plugin for the container classes, such as .gv-list-multiple-container. An old rule there can still override the grid. |
| Cache | Load the page in a private window after clearing every cache. |
If the View still shows one column, contact our support team with the page address and the CSS you’re using.