Jump to content

changing shopping bag to cart icon - indigo template

Recommended Posts

  • Replies 27
  • Created
  • Last Reply
2 hours ago, Jprood said:

Yup 🙂. I’m good at adjusting existing code but figuring out new code. Im so not good at

See if this code works. Btw, you can change the svg to what ever you want.😁. If you don’t want the quantity to show, please tell me and I’ll tell you how.

body:not(.tweak-transparent-header) .header-actions .icon--stroke svg, body:not(.tweak-transparent-header) .header-menu-actions .icon--stroke svg {
    stroke: #000;
    display: none;
}
body:not(.tweak-transparent-header) .header-actions .icon-cart-quantity, body:yes(.tweak-transparent-header) .header-menu-actions .icon-cart-quantity {
    color: #000;
    display: none;
}
.Cart-inner:before {
    content: url(https://image.flaticon.com/icons/svg/758/758680.svg);
}

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.