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;
}
}
Hi Guenni007,
thanks a lot – that works perfectly!
Best regards,
Stefan
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Thanks for helping out @guenni007 :-)
Best regards,
Rikard