mportch Posted May 3 Posted May 3 Hi, I've done this before but forgot how to do it. How do I change my shopping cart icon to this new one I've uploaded - and keep it in the same spot at the same size as the current one? Thanks! https://www.mattportch.com
tuanphan Posted May 5 Posted May 5 Add this code to Last line in Code Injection > Footer <script> $(document).ready(function(){ $('<img src="https://content.invisioncic.com/p289038/monthly_2024_05/basket.png.8dc2a9ce38537463aa6ac28d35b94b00.png" class="custom-cart-icon"/>').insertBefore('svg.icon--cart'); }); </script> <style> span.Cart-inner svg { display: none; } span.Cart-inner .custom-cart-icon { width: 30px; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
mportch Posted May 6 Author Posted May 6 (edited) Thanks. But when I tried to reduce the size from anything less than 30px it squashed the basket and messed with the spacing on both desk and mobile view. So it might be easier to stick with original trolly image. Edited May 6 by mportch
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment