Anyone know how to make the cart icon smaller please?
url: https://errival.com/
A user seeks help reducing the size of their cart icon on their online store.
Solution provided:
viewBox="0 0 70 70".header__icon--cart svg { margin: 12px; }Follow-up:
The original poster requests clarification on where exactly to paste the CSS code. The helper confirms the margin code should be added to base.css file.
The discussion involves editing both the SVG icon file and CSS styling to achieve the desired cart icon size.
Hi, @Ryan1998
Please open online store → theme → customize → edit code → icon-cart.liquid
<svg
class=“icon icon-cart”
…
viewBox=“0 0 70 70”
fill=“none”
…

You can change size what you want by adjusting above bold values.
thanks. Where do I past this to be clear?
paste*
You should find out cart svg in your code and then paste there.
margin is pasted to base.css.