Reposting URGENT HELP change cart icon

Hello everyone, I’ve tried several solutions, but I’m facing an issue with the transparent header. The new cart icon changes color only on one header—either the transparent or the white header. I need the cart icon to appear white on the transparent header and black on the white header. Any suggestions on how to fix this?

Is there anyone who can help with this

This is my store URL: corecxfashion.myshopify.com
Password: dievah

This is the new cart icon SVG: https://drive.google.com/file/d/1hvtemjiXWaScyw9hs0hYhhkcijfNH4fP/view?usp=sharing

Hi @Digital_Imran

Why are you making 3 same posts for one issue? It is not fair to other users here. Your issue is not urgent and you should not be using capital letters in the title ( just to draw attention). An urgent issue would be if Shopify closed your shop and held a lot of your funds locked.

But to reply to your issue, if you want to change an SVG icon you need to follow the rules of the theme. So in snippets/icon.liquid you can find

{%- when 'cart' -%}
      {%- case settings.cart_icon -%}

an area where there are 3 options for icons. Probably you have the tot_bag option so try to replace just the path d attribute part but also change viewport

{%- when 'tote_bag' -%}
          

I am not sure if this will work but try it out. It should pick up all theme options and colors with all variables there.

@Laza_Binaery

I apologize for posting multiple times about the same issue — I realize that it might have been frustrating for other users. I was really struggling to resolve this problem, and I spent the entire day trying to find a solution, which led to my frustration. I understand that using capital letters in the title wasn’t appropriate, and I’ll make sure to avoid that in the future.

Thank you for your patience and for pointing me in the right direction. I’ll check the snippet you mentioned in icon.liquid and follow the theme rules accordingly.

Thanks again!