I’m working in the Lorenza theme, and this is my store:
Store: https://66cdcb-86.myshopify.com/
Password: chohme
I want to do is change the cart icon to a custom svg I have. How do I do that?
I’m working in the Lorenza theme, and this is my store:
Store: https://66cdcb-86.myshopify.com/
Password: chohme
I want to do is change the cart icon to a custom svg I have. How do I do that?
You can replace the default svg code in the icon-cart.liquid file with your svg code.
document.querySelector(“.header__icon–cart .icon-header-button__icon .icon”).innerHTML = your SVG icon
How do I figure out my SVG code?
That worked, thank you so much!
Glad to help you. Have a good day.
One more thing - this svg is causing me problems; the stroke is wrong. Can you help me figure out what’s wrong with this svg file?