Shopify themes, liquid, logos, and UX
Hi,I changed the cart icon to a custom one. but it seems to only render on desktop but not on mobiles. Does anyone know the solution to this problem? Thank you very much for your help !
Wesite URL: https://inkly.fr/
Solved! Go to the solution
This is an accepted solution.
Hi there,
In the theme code, go to the 'icon-cart.liquid' and 'icon-cart-empty.liquid' and replace the SVG code. This should do the trick! Keep in mind that you have a different icon for an empty and a filled cart.
This is an accepted solution.
Hi there,
In the theme code, go to the 'icon-cart.liquid' and 'icon-cart-empty.liquid' and replace the SVG code. This should do the trick! Keep in mind that you have a different icon for an empty and a filled cart.
@ThomKnepper Thank you! I was aware of the different icon for an empty and a filled cart!
Hi, @INKLY
From my perspective, the desktop icon has not changed either.
Hi @INKLY
In header.liquide there are two type of icon
if cart == empty
render 'icon-cart-empty'
else
render 'icon-cart'
endif
one is for empty card another is with card. You have changed the item in cart icon 🙂 You need to change other one also.
It will solve your issues.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024