Before you touch the Wix editor
To embed Instagram feed on Wix, you do the same two-part job as on any registered domain: build the widget in the WidgetJar panel, then install the WidgetJar embed script on the site so the widget can render. What makes Wix different is where that script goes, how the widget finds its spot on the page, and how a Wix theme and its responsive breakpoints react when a block of embedded content arrives late.
Have these ready before you start:
- An active Wix site on its registered domain (not only the free preview URL), because the embed script is tied to that domain.
- Your Instagram posts already published, with any captions and alt text you intend to show.
- Access to the WidgetJar panel and the Wix editor in the same browser session, ideally on a desktop.
- A quiet five minutes in browser DevTools, so you can measure the page before and after.
If you have never configured a feed, the general walkthrough for embedding an Instagram feed on your website covers the panel side. This article picks up where Wix specifics begin.
Create and configure the feed in WidgetJar
In the WidgetJar panel, create a new Instagram feed widget. Pick a layout first, because layout decides the box the site has to reserve: a grid, a single row, or a single post each ask for different width and height. The layout comparison for grid, row and single post is worth reading before you commit, since changing layout later means re-checking the space on the page.
Then save the configuration. Saving is the step that produces the script you will install on Wix, so do not skip ahead to the editor until the widget is saved and shows a script or install snippet.
Where the embed script goes in Wix
Wix does not give you raw <head> access, so "add a script tag" becomes "use Wix's own embed points." The exact label varies with the Wix editor version, but the path is consistent: find the site-wide custom code or tracking settings, add the WidgetJar embed script there, and set it to run on all pages (or only the pages that will carry the feed). Site-wide placement means you install once and can place the feed on several pages later.
Two checks right after installing:
- Publish the site, then visit the live registered domain. Custom code on Wix generally does not run in the editor preview the way you expect, so test published.
- Open the browser console and confirm the script request succeeded. A blocked or 404 script is a domain or paste problem, not a widget problem.
Keep a note of what you pasted and where. When a feed goes missing six weeks later, that note is your first triage stop.
Place the feed where it earns its space
Placement is a content decision, not a cosmetic one. Above the fold, an Instagram feed reads as proof of activity and products in use, which suits a store or a venue where the visual is the pitch. Below primary content, it rewards visitors who are already interested and keeps the first screen focused on the headline, offer and primary action.
What each placement asks of visitors:
- Above the fold: it competes with your hero for attention and often for loading priority. Use the smallest sensible layout, and expect to reserve more vertical space on mobile.
- Below primary content: it becomes a reward section. Visitors scroll to it deliberately, so a larger grid is acceptable and late loading is far less disruptive.
In the Wix editor, add an embed or HTML element where the feed should live and size it to roughly match the widget's configured layout. Then publish and check the feed lands in that box rather than stacking above or below it.
Reserve the feed's dimensions before it loads
This is the step most Wix owners skip, and it is the one that causes the visible "jump." When an embedded element has no size until its content arrives, everything below it shifts down, which is a layout shift users feel as a mis-tap or a lost reading position.
The fix is to give the box a fixed width and height, or an aspect ratio, before the embed loads. Mozilla's reference for the HTML image embed element explains the mechanism plainly: including height and width lets the browser calculate the aspect ratio before the image loads, which reserves the needed space and reduces or prevents layout shift. The same logic applies to the container around your feed, even when the content inside is dynamic.
In practice, give the Wix embed element a minimum height that matches your layout at both desktop and mobile widths. Then load the page on a throttled connection and watch whether the footer moves as the feed paints.
Keep the feed from becoming your largest paint
Largest Contentful Paint measures how long it takes for the largest image or text block in the viewport to render, and the guidance from web.dev is to aim for an LCP of 2.5 seconds or less for at least 75% of visits. An Instagram feed near the top of a page can easily become that largest element, which means its images now set the page's headline performance number.
Measure before you optimize. Capture a baseline with a lab tool on a mobile preset, note LCP and CLS, install and place the feed, then re-run the same test under the same conditions. If the feed sits above the fold and drags LCP, the usual answers apply: smaller layout, fewer posts in the first view, or deferring the embed behind a click-to-load facade so the feed does not compete with the hero. The click-to-load facade walkthrough covers the build and test order; the baseline-and-re-test method is the measuring discipline behind it.
Make the feed readable without the images
Images fail more often than designers remember: non-visual browsers, visitors who turn images off to save bandwidth, and broken or unsupported files. Mozilla documents this directly — in these cases the browser may replace the image with the text in its alt attribute, which is why a useful alt value should be provided whenever possible.
For an Instagram feed, that means each embedded post needs meaningful alt text, and the caption should be visible in the page rather than only in a hover overlay. A reader who cannot see the photo should still learn what it shows and what the post says. The dedicated Instagram feed alt text and captions guide sets the writing rules; this article only insists you check them before publishing.
Run a keyboard pass
Set the mouse aside and use only Tab, Shift+Tab, Enter and Escape:
- Tab until focus reaches the feed. Can you see where focus is?
- Open a post view. Where did focus go?
- Close it. Does focus return to the post you opened, or dump you at the top of the page?
A feed that opens a lightbox and loses focus on close is navigable only by mouse. If your feed uses a post view, test it against the same expectations as any modal; the modal focus management test script gives you the exact sequence and fixes.
Troubleshooting the three common failures
- Feed not appearing: confirm the script is installed site-wide, the site is published, and the widget is saved in the panel. Check the console for a blocked request.
- Script not loading on the live domain: usually a domain mismatch between the registered site and the widget, or custom code applied to the wrong pages. Re-check both.
- Widget box collapsed or oversized: collapsed means no reserved dimensions; oversized means the container height does not match the configured layout. Adjust the embed element's size rather than the layout, unless the layout is genuinely wrong for the page.
Pre-launch checklist
- Feed renders on the published registered domain, desktop and mobile.
- Container has fixed width, height or aspect ratio; no jump when the feed paints.
- LCP and CLS re-tested against the baseline under the same conditions.
- Alt text present on every post; captions visible.
- Full keyboard pass passes, including open and close of a post view.
- Mobile spacing checked; the feed does not collide with sticky headers or footers.
When the checklist is clean, publish. If you want a different layout, more posts, or a click-to-load version, start from the Instagram feed widget page and rebuild the configuration — then repeat the measurement, because every layout change moves the box the page has to reserve.