Creating a back button in Dawn - Takes me to the wrong page

So I have made decent progress from other online help but the back button I have right now takes me back to a page that shows all of my products. I need a back button on the product information page that takes my customers back to the previous page they were on.

The code I have within the snippet right now is:

.back-btn__wrapper svg{ width: 28px; height: 20px; } .back-btn__wrapper{ margin-bottom: 12px; } .back-btn { background: #fff; padding: 10px 7px 4px 6px; } .back-btn:hover{ border-radius: 26px; background: #f0f0f0; }

and within it I found

So this makes me believe that it is taking me back to a page where all of my products are showing but in reality I want my customers to view a product then be able to go back to that specific products collection they were just looking at just like clicking the back arrow at the top of everyone’s screen.

Thank you!

Hi @TwoOrangeCats ,

Please change code:


=>


Hope it helps!