How to make the product picture bigger and the following images line up straight down?

Topic summary

A Shopify store owner wants to modify their product page layout on desktop by:

  1. Making product images display vertically in a single column instead of a grid
  2. Removing white margins/borders between and around the images

The user provided their store URL (sonissonofficial.com) and reference images showing the current grid layout.

Solution provided:
A community member shared CSS code to be added to the theme.liquid file (before the </body> tag). This successfully achieved the vertical stacking of images.

Current status:
Partially resolved. The vertical layout now works, but the original poster still needs help removing the white borders/spacing between images and on the sides. They’ve requested additional guidance for this remaining issue.

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

Hey,

(desktop only)

I’d line to decrease the margins of my product pictures and instead of them being in a grid, just go straight down through scrolling (like example). How do I achieve this?

Let me know if more info is needed!

Thanks,

https://sonissonofficial.com/

1 Like

Hi @ExtraordinaryH

Try this one .

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “theme. Liquid” file. Find the tag and paste the code below before the tag.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

@Made4uo-Ribe Thanks!!

That worked for the “stacked pictures” part, but im still wondering how to remove these white borders in between pictures and on the side, any chance you know how to help with that as well?

TYSM!