Hi @tuanphan @Ziggy hoping this thread is still active. I am trying to do something similar, make an image gallery show two columns on mobile. On desktop the number of columns is dependent on browser width and when it goes to mobile it defaults to one image column no matter what the other settings are. I used the code below and it did make the images on mobile small enough to fit two columns, but they are still just stacked in one column.
@media only screen and (max-width:767px) {
.gallery-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
}
Webpage:https://byspiritofsalt.com/animal-tattoos