BLACK FRIDAY: 50% OFF all Pro plans Code: BLACKFRIDAY50
Pro from $10 a year or $30 lifetime, no code needed: Code: BLACKFRIDAY50
Ends Cyber Monday, 30 Nov. Lock in the price today. Code: BLACKFRIDAY50
Get 50% Off
Guide

Masonry Gallery Pro

How to set up and style the Masonry Gallery widget in Elementor.

Masonry Gallery packs images of different heights into tidy columns. Pick many images from the Media Library at once, or build custom items with their own title, text and link. Use it for portfolios, photo collections and any page where images should keep their own shape.

Part of: Bright Addons Pro.

Set it up

  1. Drag Masonry Gallery onto the page and open the Images section.

  2. Set Source to Media Library to pick many images at once, or keep Custom Items and fill in Image, Title, Description and Custom Link for each item.

  3. In Layout, set Columns, Column Gap and Row Gap for desktop, tablet and mobile.

  4. Choose the Order (left to right or top to bottom) and the Image Shape. For a pattern, type the ratios in Ratio Pattern.

  5. Pick a Caption mode, an Image Hover Effect and the Click Action.

  6. For long galleries, open Load More, choose Button or Infinite Scroll, and set Images Shown First and Images per Load.

  7. Finish in the Style tab: item borders and shadows, overlay, caption text, hover icon and the load more button.

Content options

Images

Option What it does
Source Switches between a Media Library selection and custom items with their own title, text and link.
Caption Title From For Media Library images, takes the caption title from the image title, caption, alt text, or nothing.
Caption Text From For Media Library images, takes the caption text from the image caption, the image description, or nothing.
Items The list of custom items, each with Image, Title, Description and Custom Link. An empty Custom Link uses the Click Action.
Order Shows images as added, reversed, or in a random order on every page load.

Layout

Option What it does
Columns Number of columns, from 1 to 8, set per device.
Column Gap Horizontal space between columns.
Order Fills the gallery left to right (row by row) or top to bottom (column by column).
Image Shape Keeps the natural shape of each image or applies a repeating ratio pattern.
Ratio Pattern Width/height pairs separated by commas that repeat in order.
Caption Where the caption shows: overlay on hover, slide up on hover, always on image, below image, or none.
Icon Position Places the hover icon top right, top left or in the center.
Image Hover Effect The effect applied to the image on hover.
Dim Other Images on Hover Fades the other images while one is hovered.
Click Action Opens the lightbox, the image file or the attachment page, or does nothing unless an item has a custom link.
Entrance Effect How images appear as they scroll into view.
Delay Between Images (ms) The stagger between images that enter the screen together.

Load More

Option What it does
Load More Off shows all images. Button and Infinite Scroll reveal them in steps.
Images Shown First How many images are visible before any more are loaded.
Images per Load How many images each click or scroll step adds.
Button Text The label of the load more button.
Bright Addons Pro

Unlock this and 96 more Pro widgets

One license gives you every Pro widget, all 10 extensions, the Theme Builder and priority support. From $10 a year, with a 14-day money-back guarantee.

Style options

These sections are in the Style tab.

  • Items

    background, border, shadow and border radius for normal and hover states, dimmed opacity, hover zoom amount, effect duration and CSS filters.

  • Overlay and Caption

    overlay color or gradient, caption position, alignment, padding, background, and typography and colors for the title and description.

  • Hover Icon

    icon size, box size, color, background, border radius and distance from the edge.

  • Load More Button

    alignment, space above, typography, colors, border, radius and padding.

Tips

  • Top to bottom order needs no script and never moves items after loading. Left to right order is laid out by a script.

  • Random order is skipped inside the editor, so the shuffle only shows on the live page.

  • With Load More on, the lightbox slideshow only contains the images that are currently visible.

  • Entrance effects are turned off in the editor and for visitors who prefer reduced motion.

Questions and answers

Can each image link to a different page?

Yes. Set Source to Custom Items and fill in Custom Link for the item. An item with a custom link uses it instead of the Click Action.

How does the ratio pattern work?

Type width/height pairs separated by commas, for example 3/4, 1/1, 4/3. The pairs repeat in order across the images. A colon also works, such as 3:4.

Does load more fetch images from the server?

No. All images are in the page and load lazily. The button or infinite scroll only reveals more of them.

Where do captions come from for Media Library images?

From the fields saved with each image. Choose them with Caption Title From and Caption Text From.

Need more help?

Check the troubleshooting guide, or contact support with the page address and what you expected to happen.

Troubleshooting guide
All guides