DIVI Masonry gallery

Example: the top of the masonry gallery is not aligned
Add the following code between css styles of your child stylesheet.

.masonry-grid-item:nth-child(2) {margin-top: 10px!important;}
.masonry-grid-item:nth-child(3) {margin-top: -20px!important;}
.masonry-grid-item:nth-child(4) {margin-top: 30px!important;}