How to stack images in one column using Dawn Theme?

Topic summary

A user wants to change the Dawn theme’s product page image layout from a grid (one large image with two smaller ones) to a single-column stack of full-width images.

Solution provided:
Add custom CSS code to the base.css file in the theme’s Asset folder. The working code uses a media query to set product media items to 100% width on screens 750px and wider.

Key steps:

  • Navigate to Admin > Online store > Themes > Actions > Edit code
  • Open base.css under Asset folder
  • Insert the CSS snippet targeting .product__media-item.grid__item

Resolution:
After two iterations (initial code was missing a period, then needed max-width property added), the solution successfully changed the layout to single-column stacked images. Multiple users confirmed it worked for their stores.

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

Hello,

For product pages, I want to use images in one column all the way down instead of one large image

and then two small images. Like this

instead of this

Hi @jaesielee ,

Just follow the instructions below.

  1. Go to your Admin page > Online store > Themes > Actions > Edit code.

  2. Open the base.css file under Asset folder and paste the code below.

@media screen and (min-width: 750px) {
product__media-item.grid__item {
    width: 100% !important
}
}

It’s not working.. still two columns

Sorry.. missing a period.

@media screen and (min-width: 750px) {
.product__media-item.grid__item {
    width: 100% !important
}
}

Still not working.. still looks like this

May I have your website?

Try this actually.

@media screen and (min-width: 750px) {
.product__media-item.grid__item {
width: 100% !important;
max-width: 100% !important;
}
}
5 Likes

worked :slightly_smiling_face: thank you

1 Like

Please close the query by selecting the answer. Thank you

worked perfectly for me! thank you!