Home Forums Air WordPress Theme Masonry gallery glitch Reply To: Masonry gallery glitch

#12816

BWSM
Keymaster

The list layout in gallery post is a justified grid style.
The css will force the last line of image as 1/3 width.

@media (min-width: 768px) {
 .list-layout .list-layout-col:last-child .list-layout-col3-item {
    width: 33.33333%!important;
 }
 .list-layout .list-layout-col:last-child .ux-lazyload-wrap { 
    width: 100%!important; height: auto!important;
 }
}

ps: It will affect all posts, you could add the parent className to affect this post only:

@media (min-width: 768px) {
.post-2049 .list-layout .list-layout-col:last-child .list-layout-col3-item {
    width: 33.33333%!important;
 }
.post-2049  .list-layout .list-layout-col:last-child .ux-lazyload-wrap { 
    width: 100%!important; height: auto!important;
 }
}

2049 is post ID, how to find post ID – click ?