Hello guys as you can see in the picture there are 4 variant images visible without scrolling. How can I change that and make it like 4,5 images. Basicall 4 complete images and the 5th should be half, so that the people would know that there are more images and they should scroll.
Topic summary
A Shopify store owner wants to modify product variant image display to show 4.5 images instead of 4 complete images, with the fifth image partially visible to indicate scrollability.
Solution Provided:
- Add CSS code to adjust thumbnail width to 20% (allowing 5 images to fit)
- Code targets screens wider than 900px using media query
- Modifies
.thumbnail-list__item.slider__slidewidth property
Implementation Options:
- Add code to Custom CSS section in theme customizer (Product Page settings)
- If Custom CSS is full, add to base.css/theme.css/style.css/main.css/custom.css via Edit Code
Outcome:
The CSS solution successfully resolved the issue. The store owner confirmed the problem was fixed after implementing the code in their theme files.
Hello @NikosBat
Can you please share your store URL so I can check this?
Hi @NikosBat ,
Thank you for reaching out to the Shopify community. I’d be glad to assist you. Could you kindly share your store URL and
password (if it’s password-protected) so I can review it and provide you with an update?
Hi there
- Go to Customize
- Select Product Page
- Paste the code in Custom CSS section
code:
@media screen and (min-width: 900px) {
.thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
width: calc(20% - 2rem) !important;
}
}
Hello CodingFifty, of course here is the url and password:
nikthe
Hey Brsik_code and thanks for answering, my Custom CSS code is already full i cant add more codes in there. Can i paste the code somewhere else?
Hi @NikosBat ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
@media screen and (min-width: 900px) {
.thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
width: calc(20% - 2rem) !important;
}
}
Thank you very much CodingFifty, that solved my problem
You’re welcome! @NikosBat
He copied my answer ![]()



