I would like the one that has one collection to have the same size as when there are multiple collection. I have been trying to edit the code but nothing gives me the result that I would like. Please let me know if anyone could help me fix this issue.
1 Like
For that you have to change css and set image width to 100% in theme code
Where can I check the css, I am looking in my edit code and I do not have a theme.css under my assets to do the fix.
Please follow the instructions below.
- From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
- Go to Asset folder and open the base.css file
- At very end of the code, add the code below
@media only screen and (min-width: 950px) {
.collection-list .collection-list__item:only-child {
max-width: calc(25% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
}
}
Result here:
Thank you, that work perfectly!




