Hi,
On my Home Page I wish to show 6 different collections on one single line, with smaller images.
My images are 128 px per collection image, so they are not suitable for large sizes.
I think I have figured out the first part, by editing this part of the code in section-collection-list.css:
@media screen and (min-width: 750px) {
.collection-list__item a:hover {
box-shadow: none;
}
.collection-list.grid--3-col-tablet .grid__item {
max-width: 15.66%;
}
.collection-list--4-items .grid__item,
.collection-list--7-items .grid__item:nth-child(n + 4),
.collection-list--10-items .grid__item:nth-child(n + 7) {
width: 15.66%;
}
}
Setting the width to 16.6% or less gave me 6 collection blocks on one line.
Note that this is just a brute way of making it work - please suggest better coding options for me!
However, the problem is when you go from full screen desktop to a smaller window, or when you use a mobile phone/tablet.
Then the collection blocks will just resize to giant images with blurry 128px images.
How can i make it so that the blocks stay just as small on desktop as on phone?
I.e. not adaptive to the window size.
Thank you!
Example:
Desktop (perfect):
Mobile (not good):

