Download our free guide - 42 ways to improve your product page
Flying Spares Case Study by magic42

Flying Spares

International B2B Magento with 240k catalogue, Khaos Control Integration and digital marketing.
Find out more
Stone Computers Case Study by magic42

Stone Computers

Adobe Magento Commerce B2C, B2B portal and PunchOut sites and bespoke loan payment solution.
Find out more
Alan-Paine-Case-Study-Featured-Image

Alan Paine

Multisite, B2C migration from Magento to Shopify Plus with ERP integration.
Find out more
haws case study image (1)

Haws Watering Cans

B2C eCommerce strategy, UX improvements, AdWords and Klaviyo email marketing management.
Find out more
Alan-Paine-Case-Study-Featured-Image

Alan Paine

Multisite, B2C migration from Magento to Shopify Plus with ERP integration.
Find out more
Berry Flirt smoothie pouring into a glass

Berry Flirt

Fast moving B2C theme and bundling solution on Shopify
Find out more

Call Us

Speak to a Shopify expert:

0121 663 6360

Get in touch 
November 25, 2021

How to change the size of the main product image in Shopify's Dawn theme

As part of the Shopify 2.0 launch earlier in the year, Shopify launched their new base theme called “Dawn”.

Dawn is the new reference default theme for Shopify, replacing its predecessor, “Debut”.

Dawn was created as a faster, lightweight and easy to edit theme for Shopify website owners.

Whilst Dawn and Debut share similarities in terms of their functionalities, one of the big questions we get asked from our clients is around changing image sizes for product images.

In this article, we will show you how you can quickly change the size of your main product images in the Shopify Dawn theme.

What are the main features of the new Dawn theme?

  1. What are the main features of the new Dawn theme?
  2. How do you change the size of your main product image in the Dawn theme?
  3. Looking to customize your Shopify website?

The Dawn theme launched in June 2021 alongside “Online Store 2.0“.

It was designed to offer significantly more customisation options for website owners and provides a much more lightweight design.

Some of the main features of the Dawn theme include:

  • Media optimised product pages – Product pages load quicker and are focused images to showcase your product.
  • Easier to customise than ever – Sections and blocks let you add, rearrange, and edit the content more easily on a page. 
  • Minimalist design –  The modern design allows your products, assets, and content to shine. 

Whilst the new features are great, we are asked a lot by our clients on how they can change their product page image sizes.

The image appears quite large on the product page which isn’t ideal for some businesses where image detail isn’t as important. The page layout is roughly set to a 60/40 split, 60% of the layout used for the product image and 40% for the product information.

There isn’t an option to allow you to change the ratio of your product page, simply within the Shopify admin. Fortunately, with a little bit of coding, you can edit the column widths to suit your store.

How do you change the size of your main product image in the Dawn theme?

In your Shopify admin go to your “Online Store” > “Themes” > “Actions” > “Edit Code” which will take you to your theme customisation screen where you can access the theme code.

Search “section-main-product” in the file search bar and then click on the “Assets” folder to open the file.

Once you have the file open, go to line 41 to find the “@media screen” section. If it’s not here, select “CTRL+F” or “CMD+F” on macOS and search for “product__media-wrapper” to find the settings for the product image width.

You then want to reduce the percentages in this section in order to reduce your product image size to allow more room for the product information. In the below example we have reduced it from 64% to 50% to split the image and content evenly.

Before

@media screen and (min-width: 990px) {
.product:not(.product–no-media) .product__media-wrapper {
max-width: 64%;
width: calc(64% – 1rem / 2);

After

@media screen and (min-width: 990px) {
.product:not(.product–no-media) .product__media-wrapper {
max-width: 50%;
width: calc(50% – 1rem / 2);

Select “Save” to keep your layout changes so they appear on the front end.

Go to your product page and select refresh to see your layout changes pull through.

Before the changes

After the changes

You can set your width to whichever percentage you wish to have your images. And that’s it! We would always recommend you check mobile and tablet too and not just laptop and desktop viewports to ensure all your changes work as intended.

3. Looking for Shopify Support?

If you are looking for assistance in finding out more about Shopify as a platform, then please get in touch with one of our Shopify experts.

magic42 is unique in that it evolved from Mobile Fun, an award-winning online retailer with 20 years of experience, 27 international websites and a global distribution network managed from the heart of Birmingham.
Company No. 11572347 VAT No. 310 2436 61
© Copyright 2023 magic42 Limited - All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram