How to add a back button to Dawn theme in 3 minutes

OK I’m really sick of how complicated people make things when it comes to Shopify 2.0 tutorials — people should really explain themselves better

Video:

You’re going to want to go to your theme customizer and press edit code:

Press the enlarge window option here so you can see things more clearly:

Now type “main-product” into the “search files” option and open main-product.liquid:

Open the main-product.liquid file and click inside it — then type “<section

Press enter one, then below this code:

Paste this code:

<div class=”back-button grid”>
<a class=”product-form__submit button button — secondary” href=”javascript&colon;history.go(-1)”>back</a>
</div>

Press save, then search for base.css in the Shopify theme editor:

Scroll all the way to the bottom and paste this:

.back-button{text-align: center; display: block;}

We’re done

Thanks!

Hamish

--

--

Income Stream Surfers

My name is Hamish I’m a professional SEO from the UK helping people refine their income streams. My YouTube shorturl.at/ltAFJ