Tagged: alignment, portfolio grid
Hi, I’ve got one question regarding the portfolio grid on following page:
I would like to align all the images at the bottom of the dark grey boxes – can you help?
Thanks, Stefan
you can try this – but best would be to have featured images of the same aspect-ratio.
.grid-sort-container .grid-image {
background-color: #f8f8f8 !important;
}
@media only screen and (min-width: 768px) {
.grid-sort-container .grid-image img {
position: absolute;
left: 0;
bottom: 0;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.grid-sort-container .grid-entry:nth-of-type(n+2) .grid-image img {
position: absolute;
left: 0;
bottom: 0;
}
}