Grid or slider? Choosing a layout for the Instagram feed on your website
The same posts can feel very different as a grid or as a slider. This guide explains how each layout works in Social Feed by grip space, which one suits which kind of page, and how to set the number of posts, columns, spacing and width so the feed looks right on both computers and phones.
Updated October 12, 2026

Grid and slider at a glance
Social Feed by grip space has two layouts: a grid and a slider. Both use the same square tiles, the same click and hover options, and the same account header. The difference is how the tiles are arranged and how visitors move through them.
| Grid | Slider | |
|---|---|---|
| Arrangement | Rows and columns. Posts wrap onto new rows. | One row. Posts that do not fit continue to the side. |
| How visitors see more | By scrolling down the page | By swiping on a phone, scrolling sideways, or using the arrow buttons |
| Height on the page | Grows with the number of posts | Always one tile high |
| Posts visible without any action | All of them | As many as the number of columns |
| Image loading | The first row’s worth of images loads right away; the rest load as visitors scroll near them | All images load right away |
| Best for | Gallery pages, homepages with room to scroll, portfolios | Narrow spaces, product pages, sections between other content |
You can switch between the two at any time in “Settings & preview”. The change appears on your site without changing the embed code, so it costs nothing to try both.
Grid: show many posts at a glance
A grid lines up your posts in rows, like your Instagram profile. Visitors see many posts at once without doing anything, which works well when the photos themselves sell: products, food, interiors, hairstyles, finished projects.
There is no separate setting for the number of rows. The grid fills each row with as many tiles as there are columns, then starts a new row, so the number of rows is the number of posts divided by the number of columns. Twelve posts in four columns make three rows; eight posts in four columns make two.
Because a grid grows downward, it works best where there is room to scroll: the lower part of the homepage, an “Instagram” or gallery page, or a section above the footer. With many posts the grid becomes tall, and the content below it moves further down the page. If something important comes after the feed, keep the grid short.
Slider: one row that visitors can scroll
A slider shows your posts in a single row. The number of columns sets how many tiles are visible at once; the rest of the posts continue to the right. Visitors can see more in three ways:
- Swipe left or right on a phone or tablet.
- Scroll sideways with a trackpad or a mouse that supports horizontal scrolling.
- Use the arrow buttons on the left and right edges of the row. Each click moves the row by most of its visible width, so visitors see a mostly new set of posts with each click.
The row snaps so that a tile always lines up with the left edge after scrolling, instead of stopping halfway through an image. The arrows loop: at the last post, the right arrow goes back to the first, and at the first post, the left arrow jumps to the end. That way the arrows never seem to do nothing.
The slider does not move by itself. There is no autoplay and no row of dots under the slider. It only moves when a visitor swipes, scrolls or clicks an arrow. Depending on the browser and operating system, a thin scrollbar may appear under the row.
Which one should you choose?
- Choose a grid if the feed is a main part of the page, or if you want visitors to see many posts without clicking or swiping.
- Choose a slider if space is limited, or if the feed is a small extra on a page that is mainly about something else.
- Not sure? Try both in the preview, then look at the real page on a phone as well as a computer.
How columns work on phones and narrow spaces
You set the number of columns once, from 1 to 8. You do not need a separate setting for phones. The widget looks at the actual width of the space it is placed in, not the width of the screen, and uses fewer columns when each image would get smaller than about 100 pixels wide. The number you set is the maximum; the widget never shows more columns than that.
This matters because a feed is often placed somewhere narrower than the screen: in a sidebar, in one half of a two-column section, or inside a page with wide margins. Measuring the real space means a 6-column grid in a sidebar does not turn into a row of tiny thumbnails. The widget checks again when the window is resized or a phone is rotated.
Here is roughly how many columns fit at different widths with the default spacing of 4 pixels, if you have set enough columns:
| Width of the space for the feed | Most columns shown | Typical place |
|---|---|---|
| About 200 px | 1 | A very narrow sidebar |
| About 300 px | 2 | A typical blog sidebar |
| About 340–400 px | 3 | A phone screen, minus the page margins |
| About 500 px | 4 | Half of a two-column section on a computer |
| About 730 px | 7 | The content column of a tablet or a narrow page |
| Wider | Up to the number you set (8 at most) | A full-width section on a computer |
Larger spacing between images reduces the number of columns that fit a little, because the gaps take up space too. The same rule applies to the slider: on a phone, a slider set to six columns shows about three tiles at a time, each large enough to recognize.
How many posts to show
The number of posts you can show depends on your plan: up to 16 on the Free plan, 30 on the Light plan and 50 on the Standard plan. In the dashboard, the number field shows the limit for your plan.
For a grid, choose a number that fills the last row. A half-empty last row looks unfinished. Because phones and narrow spaces use fewer columns, the safest numbers are ones that divide evenly by several column counts:
| Posts | Fills full rows at | Notes |
|---|---|---|
| 6 | 1, 2, 3 and 6 columns | One row on a wide page, two rows of three on a phone |
| 8 | 1, 2, 4 and 8 columns | Leaves an incomplete row at 3 columns, which is common on phones |
| 12 | 1, 2, 3, 4 and 6 columns | Works well almost everywhere |
| 16 | 1, 2, 4 and 8 columns | The Free plan maximum; leaves one extra post at 3 columns |
| 24 | 1, 2, 3, 4, 6 and 8 columns | A full gallery page on the Light or Standard plan |
For a slider, the last row is not an issue, so the question is only how many posts visitors are likely to swipe through. On most pages, 10 to 20 posts are plenty. A slider loads all of its images right away (see the performance section below), so a very long slider makes the page load more images that most visitors never see.
Filters reduce the number of posts. If you limit the feed to recent posts or to posts with certain keywords, fewer posts than the number you set may match, and the last row of a grid may come out incomplete. Check the preview after you set a filter.
Spacing, width and font size
- Image spacing (0 to 40 pixels) is the gap between tiles. Small gaps of 2 to 6 pixels look like an Instagram profile. Larger gaps give a lighter, more “designed” look. With a spacing of 0, the images touch each other and form one block.
- Widget width (0 to 2,000 pixels) is the maximum width of the whole widget. The default is 1,500. On a narrower page, the widget simply uses the width available. Set it to 0 for no maximum. Lower it if the feed should stay narrower than the rest of a wide section, for example 800 pixels for a slider in the middle of a page.
- Font size (10 to 24 pixels) changes the text in the account header above the feed.
Tiles are always square, with slightly rounded corners, and the image fills the square. Portrait and landscape photos are cropped to the center of the square in the grid and the slider. When a visitor opens a post in the lightbox, the whole image is shown without cropping.
Layout recipes by page type
| Page or place | Layout | Columns | Posts | Other settings |
|---|---|---|---|---|
| Homepage section | Grid | 4–6 | 8–12 | Account header and follow button on |
| Footer on every page | Slider, or a one-row grid | 6–8 | 6–16 | Account header off or small; small spacing |
| Product page | Slider | 4–5 | 10–16 | Caption keyword filter for that product line |
| Blog sidebar | Grid | 2–3 | 6 | Account header on; spacing 2–4 px |
| Portfolio or gallery page | Grid | 3–4 | 24–50 | Click opens the lightbox with caption |
| Restaurant or café | Grid | 3–4 | 9–12 | Date range filter to keep it seasonal |
| Hair or beauty salon | Grid | 3 | 9–12 | Lightbox with caption, follow button on |
| Online or local shop | Slider | 4–6 | 12–20 | Caption keyword filter for new arrivals |
Homepage. A homepage feed is mostly proof that you are active and that real people visit, eat, buy or book. One or two rows are enough. Put it after your main message and call to action, not before them.
Footer. A feed in a shared footer appears on every page, so keep it short. A single row of small tiles, as a slider or as a grid with as many posts as columns, adds color without making every page longer. For how to place the code once for the whole site, see the guides for WordPress, Shopify and HTML.
Product page. Visitors are there to decide on a product, so the feed should not compete with the price and the add-to-cart button. A slider placed below the product description works well. If you tag your posts with words or hashtags, the caption keyword filter can show only posts about that product line (for example “#linen”).
Blog sidebar. Sidebars are usually about 250 to 350 pixels wide. Two or three columns keep each image recognizable. Six posts make two or three tidy rows.
Click, hover and the lightbox
These settings work the same way in both layouts.
- On click: open the post larger in a lightbox on your site, open it on Instagram in a new tab, or do nothing. The lightbox keeps visitors on your site and is the best choice for most pages. Opening Instagram suits a feed whose main goal is to gain followers.
- In the lightbox, you can show the caption and the like count (the comment count appears next to it). There is always a “View on Instagram” link at the bottom. Visitors close the lightbox with the × button or by clicking outside it.
- Icon on hover: on a computer, hovering over a tile can darken it and show an Instagram icon with the number of likes and comments. You can also turn this off for a cleaner look. Phones have no hover, so visitors on phones see the tiles without the overlay.
- Account header: above the feed, you can show your profile picture, username and number of posts, with a follow button. You choose which of the three items to show, and you can change the button text and color.
The widget’s own text, such as the default follow button label, follows the language of your page: Japanese on Japanese pages, English on all others. Text you type yourself is shown as is.
Videos, Reels and carousel posts in each layout
Video posts and Reels appear as their cover image, in the grid and in the slider. Tiles do not play videos, so a feed full of Reels does not start several videos at once on your page. When the video can be played, the tile shows a play mark, and the lightbox plays the video with sound off at first and the usual controls. Instagram does not provide the video file for some posts, for example some videos with copyrighted music. Those posts appear as a still image with no play mark, and visitors can watch them on Instagram through the link in the lightbox.
Carousel posts (posts with several images) show a small “stacked squares” mark in the corner of the tile, as on Instagram. You choose whether the lightbox shows only the first image, or all images with arrows and a counter such as “2 / 5”. The tile always shows the first image.
Choosing which posts appear
Three filters, available in both layouts, let you control which posts appear:
- Date range: any time, the last 30 days, the last 90 days or the past year.
- Caption keywords: show only posts whose caption contains one of your keywords, or hide posts that contain them. Separate several keywords with commas.
- Post types: leave out video posts, show only Reels or leave Reels out, and leave out carousel posts.
Filters are set per widget. If you want a different selection of posts on different pages, for example one product line per product page, you need a widget for each selection (see the section on using several widgets below).
Performance: what each layout loads
A feed adds images to the page, so it has some effect on loading speed. The two layouts load images differently:
- Grid: the first images, as many as the number of columns you set, load right away. The other rows use the browser’s lazy loading, so they load only when the visitor scrolls near them. A tall grid at the bottom of a page therefore costs little until someone scrolls down to it.
- Slider: all images load right away. Lazy loading does not work well for a row that scrolls sideways, because images would appear blank for a moment after each swipe. This is why it is worth keeping the number of posts in a slider modest.
The widget is added to the page by a script, so it appears after the rest of the page has started to display. Content below the feed moves down when the feed appears. This kind of movement counts toward Cumulative Layout Shift (CLS), one of Google’s Core Web Vitals. Google’s web.dev considers a CLS of 0.1 or less to be good.
To keep the effect small:
- Place the feed lower on the page, below your main content, rather than near the top. Movement below the part of the page the visitor is reading is less disruptive.
- Avoid putting the feed above the largest image or heading of the page. That element is usually what Largest Contentful Paint (LCP) measures, and web.dev considers an LCP of 2.5 seconds or less to be good.
- Check your page with PageSpeed Insights before and after adding the feed, on mobile as well as desktop.
Accessibility and mobile experience
- No autoplay is a good thing. Content that moves on its own can distract visitors and is hard to use for some people. The W3C’s accessibility guidelines (WCAG) ask for a way to pause, stop or hide moving content that starts automatically and lasts more than five seconds. The slider only moves when the visitor moves it, so this does not apply.
- Keep tiles large enough to tap. The automatic column reduction keeps tiles at about 100 pixels or more. If you place the feed in a very narrow space, check that the tiles are still easy to tap on a phone.
- Do not hide important information in posts. Opening hours, prices and booking details belong in the text of your page. Captions appear only when a visitor opens a post in the lightbox, and many visitors never do.
Common mistakes
- A half-empty last row. 8 posts in a 3-column phone layout leave two posts alone in the last row. Choose 6, 12 or 24 posts instead.
- A slider with too few posts. If a slider shows 4 columns and has only 4 or 5 posts, there is almost nothing to swipe to. Use a grid, or show more posts.
- A very long slider. All slider images load at once. Fifty posts in a slider mean fifty images for every visitor, even if most never swipe.
Using a grid and a slider on the same site
The layout, columns, spacing and filters belong to the widget. If you paste the same embed code on several pages, the feed looks the same everywhere. To use a grid on one page and a slider on another, create a second widget with its own settings and its own embed code.
The Free plan includes one widget, the Light plan three, and the Standard plan an unlimited number. On the Free plan, new posts appear on your site once a day and a small “Powered by Social Feed” link is shown below the feed. On paid plans, the link is optional.
Frequently asked questions
Can the slider move automatically? No. The slider moves only when a visitor swipes, scrolls or clicks an arrow.
Can I set a different number of columns for phones? There is no separate phone setting. The widget reduces the number of columns automatically when the space is too narrow for images of about 100 pixels. In practice, most phones show about three columns.
Can I show the images in their original shape instead of squares? No. Tiles in the grid and the slider are always square. The full image is shown in the lightbox.
Why does my feed show fewer posts than I set? Usually because a filter is active (date range, keywords or post types), because your plan allows fewer posts, or because the account simply has fewer posts that match. Some posts that Instagram does not return an image for are also skipped.
New to Social Feed? Read what Social Feed by grip space is, compare it with other tools in our Instagram feed widget comparison, and check that your account is ready in the guide to Instagram professional accounts. Questions about layouts? Write to us at info@grip-space.co.jp.
Sources
- Google web.dev, “Cumulative Layout Shift (CLS)”: https://web.dev/articles/cls
- Google web.dev, “Largest Contentful Paint (LCP)”: https://web.dev/articles/lcp
- Google web.dev, “Browser-level image lazy loading for the web”: https://web.dev/articles/browser-level-image-lazy-loading
- W3C, “Understanding Success Criterion 2.2.2: Pause, Stop, Hide” (WCAG 2.2): https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html
Get your embed code in a few minutes. The Free plan needs no credit card.
Sign up freeMore articles

How to embed an Instagram feed on your website (3 ways)
Three ways to put Instagram on your website: Instagram’s own embed code for one post, a feed widget that updates automatically, or building it yourself with the Instagram API. Steps, limits and where to paste the code on WordPress, Wix, Squarespace, Shopify and more.
Read the article →
Elfsight Instagram Feed alternative: a simpler option for small sites
Elfsight Instagram Feed vs Social Feed by grip space: free plan views, prices, update speed, what Elfsight does better, and how to switch with the same look.
Read the article →
SnapWidget alternative after the Instagram API changes
SnapWidget feeds needed re-auth after Instagram’s API change. How to fix that, how SnapWidget compares with Social Feed by grip space, and how to switch.
Read the article →
Behold alternative: Instagram feed widget compared
Behold vs Social Feed by grip space: free plans, views and posts per plan, update speed, what Behold does better (JSON, Klaviyo, curation) and how to switch.
Read the article →
LightWidget alternative for Instagram feeds: an honest comparison
LightWidget vs Social Feed by grip space: per-widget add-ons vs monthly plans, update speed, iframe vs script embed, settings and how to switch.
Read the article →
Juicer alternative if you only need Instagram
Juicer is a social wall for many networks. If you only show your own Instagram, compare views, update speed and price with a single-network feed widget.
Read the article →