By default, portfolio items in a Masonry grid first take available vertical space. Look how items are ordered under this mode.
You can choose to enable a Horizontal Order mode, the portfolio page will then lay out items to (mostly) maintain horizontal left-to-right order.
To enable the Horizontal Order mode
- Log into your WordPress site administration panel,
- Navigate to Pages, find your portfolio page and click on it.
- On your portfolio editing page, scroll down to the theme Page Options, and then choose Portfolio.
- Under Grid, choose Yes for Horizontal Order.