The fastest way to create a gallery in Elementor
Open Elementor on any page, drag the Image Gallery widget from the left panel into your page, then upload images from your computer or media library. Elementor displays them in a grid by default. To change the layout, open the widget settings on the left, adjust columns under the Layout tab, and choose a gallery effect like lightbox or carousel from the Content tab. Save and publish.
If you want more control over spacing, captions, or hover effects, use the Gallery widget instead — it offers more customization options but requires the same basic steps. Both widgets let you organize images without writing code or leaving the visual editor.
Key Takeaways
- The Image Gallery widget is the quickest option and works with images you upload or pull from your media library in one step.
- You can change the number of columns, add lightbox effects, and set image spacing all from the widget settings panel without touching code.
- The Gallery widget offers more styling options like custom captions and advanced hover effects if you need them.
- Both widgets let you preview changes in real time as you adjust settings, so you can see exactly how your gallery will look before publishing.
Using the Image Gallery widget for a basic grid
The Image Gallery widget is built into Elementor and requires no setup. Click the widget icon on the left sidebar, search for "Image Gallery," and drag it onto your page. A default grid appears with placeholder images.
Click the widget to open its settings panel. Under the Content tab, click "Add Images" and select files from your computer or choose from images already in your media library. You can upload multiple images at once. Elementor arranges them in a grid automatically.
In the Layout tab, change the number of columns by adjusting the "Columns" slider — this controls how many images appear side by side. Set the gap between images under "Column Gap" and "Row Gap." Preview your changes live on the page as you adjust these numbers.
Adding lightbox and hover effects
A lightbox opens images in a larger overlay when visitors click them, rather than navigating to a new page. To enable it, open the Image Gallery widget settings, go to the Content tab, and toggle "Lightbox" on. Visitors can now click any image to view it full-size and navigate between images with arrows.
For hover effects, stay in the Content tab and look for "Image Hover Effect." Elementor offers options like zoom, fade, and grayscale. Choose one and watch it preview on your page. These effects make the gallery feel more interactive without slowing down your site.
You can also add captions to individual images. In the Content tab, click an image thumbnail and type a caption in the Caption field. The caption appears below the image in the grid and also displays in the lightbox when visitors click it.
Customizing columns and spacing for different screen sizes
Elementor lets you set different column counts for desktop, tablet, and mobile. In the Layout tab, you'll see three icons at the top representing each device type. Click the tablet icon and adjust the Columns slider to set how many images appear on tablets. Click the mobile icon and do the same for phones.
This matters because a 4-column grid on desktop becomes unreadable on a phone. Setting it to 2 columns on mobile and 1 column on very small screens keeps your gallery usable on all devices. Elementor shows you a preview of each breakpoint as you adjust.
Gap settings also adjust per device. If your desktop gap is 20 pixels but that feels cramped on mobile, reduce it to 10 pixels for smaller screens. This keeps the gallery proportional and readable everywhere.
Using the Gallery widget for more advanced layouts
The Gallery widget offers features the Image Gallery widget does not, including masonry layouts, carousel mode, and more detailed caption styling. To use it, drag the Gallery widget (not Image Gallery) onto your page from the left panel.
In the Layout tab, choose your gallery type: Grid, Masonry, Carousel, or Justified. Masonry arranges images in a Pinterest-style layout where images of different sizes fit together without gaps. Carousel displays one image at a time with navigation arrows. Justified stretches images to fill each row evenly.
The Gallery widget also lets you style captions independently — change their background color, text color, and position. You can set captions to appear on hover, always visible, or only in the lightbox. These options give you more design control if your gallery needs to match a specific brand style.
Organizing images and managing your media library
Before building your gallery, organize your images in your media library. WordPress (which Elementor runs on) lets you create folders and add descriptions to images. This makes finding the right images faster when you're building your gallery.
When you click "Add Images" in the Image Gallery widget, you can filter by upload date, image size, or search by filename. If you've named your images clearly — like "product-1.jpg" instead of "IMG_2847.jpg" — you'll find them faster. You can also bulk-upload images by dragging a folder into the media library.
If you need to swap an image later, click the image thumbnail in the widget settings and choose "Replace Image." This keeps your gallery layout intact while updating the photo.
Common issues and how to fix them
If images look blurry or stretched, check their original size. Elementor works best with images that are already close to the size they'll display at. A 4000-pixel-wide image squeezed into a 300-pixel column will look soft. Resize images to roughly 1200 pixels wide before uploading if they're coming from a camera or high-resolution source.
If the lightbox doesn't work, make sure you toggled it on in the Content tab — it's easy to miss. If captions don't show, verify you added text in the Caption field for each image. Some Elementor themes hide captions by default; if yours does, you may need to adjust the caption styling in the widget settings.
If your gallery looks different on mobile than in the editor, you're likely seeing a responsive breakpoint in action. Click the mobile icon in the Layout tab to see what the gallery looks like on phones and adjust column counts or gaps as needed.
Frequently Asked Questions
Can I add text or buttons alongside my gallery?
Yes. Drag a Text widget or Button widget above or below your Image Gallery widget on the same page. You can also add a heading, description, or call-to-action button in the same section. Elementor treats each widget independently, so you can arrange them however you want.
What image formats does Elementor support?
Elementor works with JPG, PNG, GIF, and WebP. WordPress accepts these formats by default. If you're uploading SVG files, your WordPress site may need a plugin to support them. For best performance, use JPG for photos and PNG for graphics with transparent backgrounds.
Can I set different lightbox settings for different galleries on the same page?
Yes. Each Image Gallery widget has its own settings. You can add multiple galleries to one page, and each one can have different column counts, hover effects, and lightbox settings. Just drag a new Image Gallery widget onto the page and configure it separately.
How do I make my gallery load faster?
Compress your images before uploading. A tool like TinyPNG or ImageOptim reduces file size without visible quality loss. Smaller files load faster, especially on mobile connections. You can also lazy-load images — a setting in some Elementor themes that loads images only when visitors scroll to them.
Can I sort or filter images in the gallery?
The basic Image Gallery widget does not have built-in filtering. If you need visitors to filter by category (like "product type" or "color"), you'll need a plugin like Elementor's Pro version, which includes a Portfolio widget with filtering, or a third-party gallery plugin like Envira or FooGallery.