Product images on mobile Dawn Theme

Topic summary

A user seeks to remove spacing (padding/margins) around product images on mobile devices in the Dawn theme, wanting images to fill the entire screen width and height.

Current Issue:

  • Product images display with unwanted white space on all sides on mobile view
  • User provided before/after comparison screenshots showing desired full-bleed layout

Solutions Offered:

  1. Reference to existing solution: One responder directed to a related community thread addressing white space removal between sections in Dawn’s mobile view

  2. Custom CSS approach: Another responder provided specific implementation steps:

    • Navigate to Online Store → Edit Code → theme.liquid file
    • Insert custom CSS code above the closing </body> tag
    • Included a result screenshot demonstrating the full-width image layout

Status: The discussion remains open, awaiting confirmation from the original poster on whether either solution successfully resolved the spacing issue.

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

Hello,

I would like to remove the spacing on the left and right and the spacing at the top and bottom of the images so that the image takes up all the space on mobile, but I don’t know how to do it.

Does anyone know how to do this please?

Here is my website: https://pqd9ge-cs.myshopify.com/products/brightening-eye-cream

What it looks like:

What I would like:

1 Like

Hey @Ulysse12342 You should try out the steps in the marked reply here https://community.shopify.com/c/shopify-design/remove-white-space-between-sections-for-mobile-view-on-dawn/m-p/2644934

Feel free to tag me and let me know if it works for you!

Hey @Ulysse12342

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