Image size collection list in Streamline Theme

Topic summary

Goal: Reduce collection list image size in Shopify’s Streamline theme to fit more than four per row, and then adjust accompanying text for desktop and mobile.

  • Image sizing: A CSS edit to .skrim__item in theme.css was proposed (setting width around 12% and adjusting margins). A conflict was noted due to two width declarations; removing the redundant one ensured the intended width takes effect and images render smaller as desired.

  • Text sizing: After resizing images, text did not fit well. Two CSS approaches were shared using media queries: one targeting .skrim__underline-me with different font sizes for ≥769px (desktop) and ≤768px (mobile), and another targeting .skrim__title using calc with scaling for mobile.

  • Technical notes: CSS media queries apply styles based on screen width; 769px is the theme’s breakpoint. The !important flag forces a style to override others; calc() computes values directly in CSS.

Outcome: User confirmed both image resizing and text adjustments worked after editing Assets > theme.css. Status: Resolved; no remaining questions.

Summarized with AI on February 13. AI used: gpt-5.

Hello, can someone help me to make the images from the collection list smaller in Streamline?

The site is charmz.de.

The images are very big and I would need more than 4 in a row.

I tried a solution but it won’t work.

Hope someone can help me out.

Hi,

To resolve the issue, please add !important next to 10% in the theme.css.

If you want to make 6 images in a row, make it 12% & add !important as below.

@media only screen and (min-width: 769px) {
.skrim__item {
    margin: 0 20px 40px;
    width: 12% !important;
    width: calc(25% - 40px);
  }
}

You may need to adjust the margin for better look.

Hope it helps.

Thanks.

1 Like

Hi @PU91 ,

You just need to remove the code here, it will work fine, because you have declared 2 width for it, so it will get the 2nd declaration.

Hope it helps!

1 Like

Thank you so much, it works perfect, but how can I adjust the text in the desktop and the mobile version, that it fits the new size?

Thanks Patrick

Thank you so much, this works also perfect, just the same problem with the text.

Thanks, Patrick

Hi,

To adjust the font size, please use the code below.

@media only screen and (min-width: 769px) {
  .skrim__underline-me {
    font-size: 24px;
  }
}
@media only screen and (max-width: 768px) {
  .skrim__underline-me {
    font-size: 18px;
  }
}

The top part is for PC (screen size 769px or bigger) and

the bottom part is for Mobile (screen size 768px or smaller).

Mostly the break point is 750px but your theme is using 769px.

However, please adjust the font-size per your needs.

Hope it helps.

Thanks.

1 Like

Hi @PU91 ,

Go to Assets > theme.css and paste this at the bottom of the file:

@media only screen and (min-width: 769px){
	/* font size for desktop */
	.skrim__title {
		font-size: calc(var(--typeHeaderSize)*.57);
	}
}
/* font size for mobile */
.skrim__title {
    font-size: calc(var(--typeHeaderSize)*.57*.85);
}

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.

Works perfect, thank you so much for your help.