Dawn theme: vertical thumbnails with arrows for the product page images

Shortly after the release of the Online Store 2.0, which was basically Shopify’s excellent update to the overall usability and user experience of the Customize page, the Dawn theme was made available for the public gaining some notoriously positive feedback.

It is no wonder though: with its elegant, modern design, and a “jQuery-less” component-based architecture implemented, the Dawn theme offers a much more performant website suitable for most types of businesses.

Anyhow, as with pretty much any other theme out there, there is still room for improvement, especially on the product page. The most obvious updates that are often discussed and requested are:

– vertical thumbnails;
– arrows;
– loop images;
– dots;
– sync swatches when images change (and vice-versa).

More importantly, while these updates can be nice, just hard coding them into the theme and having it permanently stuck there would not be of great use.

Being able to enable/disable these features to effortlessly A/B test and see what works better for the businesses is actually the ideal scenario.

Therefore, today I’ll teach you how you can add these features (plus a lot more customizable options) just by pasting one piece of code. The best part is that: customizations will not be overwritten. If you have any custom code, it will still be there afterward! Also, you don’t need any coding experience to do this.

Here is a live preview of what the end result will look like.

Making a backup of your theme

Before diving into the tutorial make sure you download the theme, so in case you face any issues you can easily revert back.

Downloading the files

Download the files by clicking here. (live preview)

Step 1: adding the “top” code

  1. From your Shopify admin, navigate to Online Store > Themes Actions Edit Code.
  2. Type the following on the search bar:

    main-product.liquid

    And open the file that is found.
  3. Inside the .zip you downloaded, there will be a file called top.txt. Copy all the code inside of this file.
  4. Paste the code at the beginning of your main-product.liquid file, as the image indicates.

    Before:


    After:

Step 2: adding the “bottom” code

  1. Still inside the “main-product.liquid” file, press CTRL + F (or CMD + F on Mac) and search for:

    {% schema

    Make sure you include the space after %.


  2. Now, delete everything below the {% schema %} line, including the {% schema %}.

  3. Inside the .zip you downloaded, there will be a file called bottom.txt.

    Copy all the code inside of this file and paste it at the very bottom of the file.

  4. That is it!

Final step: activating and customizing the slider

  1. From your Shopify admin, navigate to Online Store > Themes >Customize. Choose the theme that you just added the code to.
    Accessing the customize page on Shopify admin
  2. At the top, from the dropdown options, select Products> default product.

  3. Once this page loads, click on Product Information on the left.
  4. Scroll down to Media and activate whatever option you’d like. In this case, we’ll enable the vertical thumbnails:

Something went wrong, there is a bug or I can’t install it

No worries at all! We’ll be more than happy to help you out.

Just please send us an email to ezfycode@gmail.com with your website URL and we’ll get back to you on the same day to assist you and get it installed.

Shop

Background with geometric patterns.Background with geometric patterns.Background with geometric patterns.Background with geometric patterns.Background with geometric patterns.Background with geometric patterns.

In need of coding help for your Shopify store?

Let us know what you need, we'll get back to you within 24 hours.

Request a free quote

Contact Us

Contact us to learn more about how we can help grow your business. No strings attached.

Send us an e-mail and we'll get back to you within 24 hours! Before you click on "send message" please make sure to do the ReCaptcha so your e-mail can be sent safely.

Loading...