Grid/table layout that’s flexible for mobile?

[ad_1]

Hi, sorry I can’t figure out the keywords to google this answer. I’d like to lay out some pages and /blog/ to display a 3-column grid, but that would be reduced to 1 or 2 columns based on screen size. The important thing, I want it to stay in order when reduced. What’s a good way to do this? Examples below, thanks!!

Example, 3-column:

|1|2|3|
|:-|:-|:-|
|4|5|6|

2-column:

​

|1|2|
|:-|:-|
|3|4|
|5|6|

[ad_2]
4 Comments
  1. There should be options with columns block or different page builders widgets, to accomplish that without coding, if it’s easier for you.

  2. This is pretty much how 99% of themes display a blog archive. Use the built in archive pages. Use the wp-Query block. Use WP columns. They all work this way.

    The best practice for web is flexbox – and as mentioned, there’s 1m tutorials for it.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer