FROM CACHE - en_header

product basket icon

chrisjames11
Tourist
52 0 7

Hi 

 

Pls could u provide the solution to changing cart icon by using an image url or css code. (attached examples below)

 

Theme: warehouse

URL: tennisgiant.com 

 

Wanted result:

chrisjames11_0-1659738460967.png

 

 

 

current:

chrisjames11_1-1659738460778.png

 

 Cheers

Reply 1 (1)
oscprofessional
Shopify Partner
12107 1881 2413

@chrisjames11 
Hello,

 

<svg class="icon icon--cart" viewBox="0 0 21.5 30" role="presentation">
<style type="text/css">
 .st0{fill:#FFFFFF;}
</style>
<g transform="translate(0 1)" stroke-width="0" stroke="none" fill="currentColor" fill-rule="evenodd">
<path class="st0" d="M11.4,8.9c2,0,4.5,0,6.5,0c1,0,1.7-0.7,1.7-1.7c0-1.2,0-2.5,0-3.7c0-0.4-0.1-0.8-0.2-1.2C19,1,17.7,0,16.6,0
 c0,0.1,0,0.2,0,0.4c0,1.1,0,2.1,0,3.2c0,1.1-0.6,1.6-1.7,1.6c-1,0-2.5,0-3.5,0C11.4,5.2,11.4,8.2,11.4,8.9z"></path>
<path class="st0" d="M6.5,5.2C5.7,5.2,5.2,4.8,5.1,4C5,3.7,5,3.5,5,3.2C5,2.1,5,1.1,5,0C4.9,0,4.8,0,4.7,0C3.2,0.3,1.9,1.7,1.9,3.3
 c0,1.3,0,2.6,0,3.8c0,1,0.7,1.7,1.7,1.7c2,0,4.5,0,6.5,0c0-0.7,0-3.7,0-3.7C9,5.2,7.5,5.2,6.5,5.2z"></path>
<path class="st0" d="M11.4,2.9v1.7c1.7,0,3.3,0,3.8,0c0.2,0,0.4-0.2,0.5-0.3C15.9,4,16,3.7,16,3.4c0-0.7,0-1.5,0-2.3
 c0-0.4,0-0.7,0-1.1C12.5,0,9,0,5.6,0c0,0.2,0,0.5,0,0.7c0,1,0,1.9,0,2.9c0,0.5,0.3,1,0.7,1c0.5,0,2.1,0,3.9,0V2.9H11.4z"></path>
<path class="st0" d="M0.6,13.6c-0.1,0.3-0.1,0.7-0.1,1.1c-0.1,1.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.7-1.4H11.4z"></path>
 </g>
</svg>

 

Go to your Online Store-> Theme->Edit code->Assets and search cart icon SVG file and replace this code.
This information is useful so please like and accept solution

Like THis

oscprofessional_0-1659773359387.png

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing