Image cut off on mobile with Dawn theme

Topic summary

A user encountered an issue where product images in the “Recently Viewed” section of their cart page appeared correctly on desktop but were cut off in half with white space on mobile (iPhone) when using the Dawn theme.

Solution provided:

  • Navigate to Shopify Admin → Online Store → Theme → Edit code
  • Locate the base.css, theme.css, or styles.css file
  • Add CSS code at the bottom targeting .card__media .media.media--transparent with padding-bottom: 0 !important within a media query for max-width 600px
  • Save the file

Outcome: The CSS fix successfully resolved the mobile image display issue. The problem was specific to mobile viewport rendering of the cart page’s recently viewed product section.

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

Hello, I’m hoping someone might be able to help me with please, I have tried searching the community but cant find anything similar.

In the Recently Viewed section of my cart, the images all look fine on desktop and the mobile view of customisation, but when i open the site on my iphone, the image is cut in half with white space.

https://eserdiv.com/

Thank you in advance.

Hi @eserdiv ,

You can try this code by following these steps:

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file base.css, theme.css or styles.css

Step 3: Insert the below code at the bottom of the file → Save

@media (max-width: 600px) {
  .card__media .media.media--transparent {
    padding-bottom: 0 !important;
  }
}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Thank you so much! It worked! Appreciate you

1 Like