Tagged: breakpoint, columns, responsive
-
AuthorPosts
-
March 20, 2026 at 2:33 pm #1496206
Hello,
On my website I currently have 3 columns next to each other.
When I scale the screen down, the columns stay side by side until they become very narrow, and then they switch to full width at the mobile breakpoint.Is it possible to make it so that the first two columns stay next to each other, while the third one moves below them and is centered? After that, it should switch to the mobile layout as usual.
March 21, 2026 at 10:31 pm #1496226have a look at: https://webers-testseite.de/7er-mega-div/
all you need for css is thereMarch 22, 2026 at 1:47 pm #1496234Hi,
@Guenni007 nice solution with flex, but @wesleyborgman is using Equal Height columns which changes the layout.Best regards,
MikeMarch 22, 2026 at 3:41 pm #1496237Not really—don’t use the “equal-height” option; instead, set the “align-items: stretch” option for the flex container.
Take another look at the example page.
By the way: “align-items: stretch” is the default value on flex containers — so you don’t need to specify it explicitly._____________ just for info ______________
/* === flex container settings (default values): === */ flex-direction: row /* === Side by side, not one below the other. === */ flex-wrap: nowrap /* === Everything on a single line, no line breaks. === */ justify-content: flex-start /* === Everything left-aligned (on the vertical axis). === */ align-items: stretch /* === Full height (on the horizontal axis). === */ /* === Items Settings (default values): === */ flex-grow: 0 /* === No automatic filling of empty space. === */ flex-shrink: 1 /* === Shrinking is permitted if space is limited. === */March 22, 2026 at 4:09 pm #1496239Hi,
What I ment was that when the columns are set to equal height the dev structure changes and display:table; is used on the flex_columnBest regards,
MikeMarch 22, 2026 at 4:14 pm #1496240Yes — and what I mean by that is that you can achieve consistent column heights even without using
display: table.
By the way, I’ve never understood why Enfold chose this method instead of using a true flex layout.March 22, 2026 at 7:08 pm #1496243Hi,
Ok thanks @Guenni007, so @wesleyborgman note that with Guenni007’s example you will need to disable the Equal Height option in your columns.Best regards,
MikeMarch 23, 2026 at 10:58 am #1496250understanding that flexbox layout:
https://webers-testseite.de/flex-columns-understanding/March 24, 2026 at 12:38 pm #1496286Yes the problem is now fixed. Thanks alot!
March 24, 2026 at 1:34 pm #1496287Hi,
Glad that Guenni007 could help, thanks Guenni007, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Need help with responsive columns’ is closed to new replies.

