How to reduce the size of multi column or fit 5 across instead of 4

Topic summary

A user wants to display 5 columns instead of 4 in their Shopify store’s multi-column section on desktop, with smaller images.

Solutions Provided:

Two working solutions were offered:

  1. CSS via theme.liquid: Add custom CSS code in the theme.liquid file, just above the </body> tag, to adjust column layout

  2. CSS via theme.css: Add media query code to theme.css targeting screens wider than 1000px:

    @media screen and (min-width: 1000px) {
      .multi-column {
        grid: auto / repeat(5, minmax(0, 1fr));
      }
    }
    

Resolution:
The original poster confirmed the first solution worked successfully. Both approaches modify the grid layout to accommodate 5 columns across on desktop displays.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

How to reduce the size of multi column or fit 5 across instead of 4

On desktop I would like all columns across and the images smaller

https://deadsetthreads.com.au/pages/who-we-are

Hey @AmberWilkinson

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Amazing! Thank you so much!!!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hello @AmberWilkinson
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
at the end of the file and save.

@media screen and (min-width: 1000px) {
.multi-column {
grid: auto / repeat(15,minmax(0,1fr));
}
}

result

If this was helpful, hit the like button and accept the solution.
Thanks