How to change cart icon to custom image for Brooklyn Theme

orgnix
Tourist
9 0 2

Hi,

Is there a way to change the cart icon image on the homepage to a custom image that I want for the Brooklyn Theme? Cart Icon.JPG

Jasoliya
Shopify Expert
4209 569 1032

Hi @orgnix 

You can find your cart icon on:

Section->header.liquid file, fine "/cart" and then remove bellow code:

 <span class="icon-fallback-text">
                    <span class="icon icon-cart" aria-hidden="true"></span>
                    <span class="fallback-text">{{ 'layout.cart.title' | t }}</span>
                  </span>

Now add your icon image on place of above code.

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
UmairA
Shopify Partner
797 80 151

Hey there @orgnix,

Welcome to the community. Shopify has a tutorial on how to change cart icon to an image here https://community.shopify.com/c/Shopify-Discussion/change-cart-icon-on-Brooklyn/td-p/238909

You can contact me if you need my help implementing this.

Hope it helps

Need help with theme customization or to add a new feature? Hire me
Email: umairabbascs@gmail.com
WhatsApp: WhatsApp
Theme customization | Custom coding | Store Setup | SEO Audit | Speed Optimization | Tweaks & Bugs fixing
0 Likes
orgnix
Tourist
9 0 2

How do I add my icon image in the code?

0 Likes
orgnix
Tourist
9 0 2

Would I add my own png image to the assets folder?

0 Likes
UmairA
Shopify Partner
797 80 151

Yes @orgnix!

You'll add it to the assets folder.

Need help with theme customization or to add a new feature? Hire me
Email: umairabbascs@gmail.com
WhatsApp: WhatsApp
Theme customization | Custom coding | Store Setup | SEO Audit | Speed Optimization | Tweaks & Bugs fixing
0 Likes
orgnix
Tourist
9 0 2

@UmairA  Do you know how I could grab the bag (cart) icon from the debut theme and use it for the Brooklyn theme?

0 Likes