Docs    Facebook    Customizations

Can I display my Facebook posts horizontally or in multiple columns?

How to set a multi-column masonry layout for a Facebook feed, using the Columns setting in the feed customizer.

Would you like to show your Facebook posts side by side, in columns or in a row?

In this guide, we’ll show you how to pick a layout for your feed and how to set the number of columns for each device. We’ll also cover what to use when you want posts in a row. You don’t need any custom code. The layout is a setting in the feed builder.

Before you get started, make sure the Facebook Feed plugin is installed and activated on your WordPress site and that your feed is set up.

Here is what we will cover.

Choosing a Layout

To get started, we’ll open the layout setting of your feed.

  1. In your WordPress dashboard, go to Facebook Feed » All Feeds.
  2. Next, click the name of your feed, or click the Edit icon beside it.
  3. Then click the Customize tab.
  4. Finally, open the Feed Layout section.

At the top of the section, the Layout setting offers these choices.

  • List shows one post under another, in a single column.
  • Grid shows posts in columns of equal size. It appears only when the feed type is Photos, Videos, Albums or Single Album.
  • Masonry shows posts in columns and fits posts of different heights together.
  • Carousel shows posts in a row that visitors slide through. It needs the paid version and the Carousel extension.

If you want posts in columns and you’re not sure which layout to pick, start with Masonry. It has no feed type requirement, so it works for any feed.

The feed preview updates as you pick a layout. Next, we’ll look at Masonry, the layout that gives a feed of posts its columns.

Creating a Masonry Layout

A feed of Facebook posts has posts of different heights, because some posts are longer than others. A masonry layout places these posts in columns without leaving gaps under the short ones.

  1. First, open the Feed Layout section, as described in the previous section.
  2. Next, under Layout, choose Masonry.
  3. Then set the columns for each device, as described in the next section.
  4. Finally, click Save.

With Masonry chosen, the Columns settings appear below the layout choices. Next, we’ll set them.

Setting the Number of Columns

The Columns heading appears when the layout is Grid or Masonry. It has a drop-down for each kind of device. This lets you show more columns on a wide screen and fewer on a phone.

  • Desktop lets you choose from one to six columns.
  • Tablet lets you choose from one to six columns.
  • Mobile lets you choose from one to three columns.

For example, to show three columns on a computer and one on a phone, set Desktop to 3 and Mobile to 1. When you’re happy with the preview, click Save.

The columns decide how posts are arranged. They don’t decide how many posts load. To change that, use the Number of Posts setting in the same section. It has its own Desktop and Mobile boxes.

If you added CSS or JavaScript from an earlier version of this guide to make columns, remove it. The layout setting now does that work, so the old code is no longer needed.

Columns place posts side by side. Next, we’ll look at showing posts in a row.

Showing Posts in a Row

To show posts side by side in a row that visitors slide through, use the Carousel layout. It’s the only layout that arranges the feed as a row. The other layouts stack posts down the page, even with columns.

Carousel needs the paid version and the Carousel extension. In the free version, clicking Carousel opens an upgrade message. In the paid version, the Carousel choice shows an upgrade icon beside its name until the extension is active. Our guide on using the Carousel extension shows how to set it up.

Once Carousel is chosen, these settings appear in the same section.

  • Height of Carousel sets how much vertical room the feed takes. It can match the tallest post or match the shortest post with a button to expand it. It can also adjust to each post, which always uses one column.
  • Desktop Columns and Mobile Columns decide how many posts show at once on each device.
  • Navigation Arrows Style hides the arrows, shows them on the sides of the feed when the visitor hovers, or shows them below the feed.
  • Show Pagination turns the pagination dots below the feed on or off.
  • Enable Autoplay makes the carousel move on its own. Interval Time sets the wait between moves.

That’s it! You now know how to show your Facebook posts in columns, in a masonry layout or in a row. Next, you can style your feed with our custom snippets for Facebook Feed.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about layouts and columns.

Why can’t I see the Columns setting?

The Columns setting shows only when the layout is Grid or Masonry. With the List layout, the feed always has one column. To see them, choose Masonry in the Feed Layout section.

Why is there no Grid layout in my feed?

Grid appears only when the feed type is Photos, Videos, Albums or Single Album. For a feed of posts from your Page’s timeline, use Masonry to get columns.

Can I show a different number of columns on a phone?

Yes. The Columns setting has its own Mobile drop-down. The Setting the Number of Columns section above covers it.

Does Masonry need any extra setup?

No. Masonry and its columns are part of the Facebook Feed plugin. The Carousel layout needs the paid version and the Carousel extension.

Do I still need custom code to make two columns?

No. To get two columns, choose Masonry and set the Desktop column drop-down to 2.

support

Couldn’t find your answer in the docs?

Contact Support