Hello,
Please add the below code into the “Global Custom CSS” area in Theme Settings -> Custom CSS.
.wd-images-gallery > [class*="wd-grid"] {
display: flex;
flex-wrap: wrap;
gap: 0;
margin: 0 calc(var(--wd-gap) / -2) calc(var(--wd-gap) * -1);
justify-content: var(--wd-justify-content);
}
.wd-images-gallery > [class*="wd-grid"] > .wd-col {
width: 100%;
min-height: 1px;
flex: 0 0 calc(100% / var(--wd-col) * var(--wd-col-wider, 1));
max-width: calc(100% / var(--wd-col) * var(--wd-col-wider, 1));
padding-inline: calc(var(--wd-gap) / 2);
margin-bottom: var(--wd-gap);
}
Then clear the cache and recheck the issue.
Kind Regards