Elementor Media Grid Widget
Filterable image gallery with hover overlays and a lightbox.
Part of Xtra Addons for Elementor · free · no Elementor Pro needed
Portfolio with filters
A three-column design portfolio with filter pills, a dark fade overlay showing each title, and a lightbox with arrows and keyboard support.
Dark portrait wall
Four columns of tall 3:4 portraits on a dark page with square lime filter tabs, left-aligned, and a caption that slides up from the bottom on hover.
Square feed, zoom hover
A tight four-column square feed without a filter bar: sharp corners, a 4 px gap and a zoom hover with a soft warm tint.
Case studies with links
Wide 16:9 cards where every item links to its own case study page instead of opening the lightbox, with underline filter tabs.
The free Elementor Media Grid widget for real websites
The Xtra Media Grid is a free Elementor widget that turns a list of pictures into a responsive gallery. Each item has an image, an optional title and an optional category. The widget builds the filter buttons from those categories, so visitors can narrow a portfolio or photo wall down to what they care about without a page reload.
Clicking a picture opens a lightbox with a caption, previous and next arrows, keyboard control and a close button. If you would rather send visitors somewhere else, give an item an external link and it opens that link instead. Hover overlays come in four styles (fade, slide up, zoom or none) and show the item title on top of a color or gradient you choose.
Everything is styleable from the Style tab: filter buttons in their normal, hover and active states, the picture box with its border, shadow and radius, the overlay, the title and the lightbox backdrop. Choose one to six columns for every device, set the gap, and optionally crop all pictures to the same aspect ratio for a tidy grid.
Everything in the Elementor Media Grid widget
Category filter bar
Type one or more comma-separated categories on each item and the filter buttons appear automatically, plus an All button with a label you can rename. An item with two categories shows up under both. The filter bar can be switched off.
Built-in lightbox
A click on a picture opens it large with its title as the caption. Use the arrows or the left and right arrow keys to move between pictures, and close with the × button, the Esc key or a click on the backdrop. The backdrop color and caption style are editable.
Links instead of the lightbox
Add an external link to an item and that tile becomes a normal link (optionally in a new tab). Tiles without a link keep opening the lightbox, so you can mix both in one grid.
Four hover styles
Choose Fade Dark, Slide Up, Zoom Image or None. The overlay shows the item title, and a plus icon on tiles that open the lightbox, over a solid or gradient color with its own padding.
Responsive columns and gap
Set one to six columns separately for desktop, tablet and mobile (3, 2 and 1 by default) and a gap from 0 to 60 px for each device.
Aspect ratio control
Crop every picture to Auto, 1:1, 4:3, 3:2, 16:9 or 3:4 so mixed images line up in clean rows. The ratio can differ per device.
Full item and filter styling
Filter buttons have typography, normal, hover and active colors, border, padding and radius. Pictures get a background, border, shadow, hover shadow, hover image scale, radius and transition speed.
Reveal on scroll
Animate on Scroll fades and lifts each picture into place as it enters the screen. It can be turned off for galleries that should appear at once.
39 options to make it yours
These are the real controls you will find in the Elementor panel for the Media Grid widget.
Content tab
11Gallery Items
- Items
- Image Resolution
- Image Dimension
Layout & Filter
- Layout
- Columns
- Gap
- Show Filter Bar
- "All" Button Label
- Lightbox
- Hover Overlay Style
- Animate on Scroll
Style tab
28Filter Bar
- Alignment
- Button Gap
- Bar Bottom Spacing
- Typography
- Text Color
- Background
- Border Type
- Border Width
- Border Color
- Button Padding
- Border Radius
Items
- Image Aspect Ratio
- Background
- Border Type
- Border Width
- Border Color
- Box Shadow
- Image Scale
- Border Radius
Overlay
- Background
- Padding
Item Title
- Typography
- Color
- Zoom Icon Size
- Zoom Icon Color
Lightbox
- Backdrop Color
- Typography
- Caption Color
Where the Media Grid widget shines
Design and photography portfolios
Group work by discipline, let visitors filter, and open projects full size in the lightbox.
Case study and project indexes
Use wide tiles with an external link on each item so every picture leads to its own project page.
Social-style photo walls
Show a tight square feed of food, products or events with a zoom hover and a quick lightbox.
Event and venue galleries
Sort photos into categories such as Ceremony, Venue and Party so guests can find their pictures fast.
How to use the Media Grid widget in Elementor
Media Grid shows the pictures you add as a gallery. Add the items first, then choose the layout, the filter and what happens on click.
- Drag the Media Grid widget into a container.
- Under Content → Gallery Items, edit the list. For each item choose the Image, write a Title (shown on hover and as the lightbox caption) and, for filtering, a Category.
- To put an item in several categories, separate them with commas, for example "Branding, Print". Leave the Category empty to show the item only under All.
- If a tile should open a web page instead of the lightbox, fill in External Link (optional) for that item.
- Under Content → Layout & Filter, choose the Layout, the number of Columns and the Gap for each device, and switch Show Filter Bar and Lightbox on or off.
- Choose the Hover Overlay Style (Fade Dark, Slide Up, Zoom Image or None) and decide whether Animate on Scroll stays on.
- Open the Style tab. Under Items set the Image Aspect Ratio, radius, shadow and hover image scale. Under Filter Bar, Overlay, Item Title and Lightbox adjust colors and typography.
Media Grid widget questions
Quick answers about the free Elementor Media Grid widget.
Is the Xtra Media Grid widget free?
Yes. Media Grid is included in the free Xtra Addons for Elementor plugin and does not need Elementor Pro.
How do I add a filter to an Elementor gallery?
Write a category on each gallery item. When at least one item has a category and Show Filter Bar is on, Media Grid creates one button per unique category plus an All button. Clicking a button shows only the matching items.
Can one picture belong to more than one category?
Yes. Separate the categories with commas, for example "Web, App". The picture appears when either of its categories is selected.
What is the difference between Grid and Masonry?
In Grid, pictures sit in aligned rows and an Image Aspect Ratio crops them to the same shape. Masonry is meant for pictures that keep their own proportions (aspect ratio on Auto). In browsers without native CSS masonry the rows stay aligned and each picture sits at the top of its row, so for a perfectly even look choose Grid with an aspect ratio.
Can a picture open a page instead of the lightbox?
Yes. Fill in External Link (optional) on that item. It opens the link, in a new tab if you chose that, and the lightbox is skipped for that tile. Other tiles in the same grid still open the lightbox.
Does the lightbox work with the keyboard?
Yes. The left and right arrow keys move between pictures and Esc closes it. The close, previous and next buttons have accessible labels, and the lightbox is marked as a dialog.
Related Elementor widgets
All 42 widgetsAdd the Media Grid widget to your site — free.
42 widgets, 47 sections and 10 website kits. No locked features. No account.