How to properly add remove button for items in cart (Minimal Theme)

I’m trying to add a “remove” button to my shop using this line of code in cart-template.liquid

<a href="/cart/change?line={{ forloop.index }}&quantity=0" rel="{{ item.id }}">Remove Item</a>

after pasting it in the loop as instructed the remove button never ends up where i want it to be

Is there a place to past the code to get this properly displayed either below the title of the product or below the quantity bar? Any help is appreciated, Thanks!

My shop is http://www.avixst.com if anyone wants to take a look at the layout

Hi avixst

Hope you are well. Can you check this link it will be help you how to add remove button properly. https://jilt.com/blog/how-to-add-an-empty-cart-button-to-shopify/

If helpful then please Like and Accept Solution.
Thanks

Hi,

this shows how to add empty cart button. The question is regarding adding a remove item button

thanks