Shopify themes, liquid, logos, and UX
I have uploaded a custom cart icon to my site, but for whatever reason it is squished on desktop view.
I have the below code pasted in both icon-cart.liquid and icon-cart-empty.liquid
<img src="https://cdn.shopify.com/s/files/1/0867/8319/7489/files/Untitled-12-01.png?v=1713755864" alt="cart">
is there a way I can set the size manually?
Thanks!
please share the store url
this is my new question... can you help with this instead possibly? thankyou!
Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.
Best regards
Sahil
- Your
Hi @AbbyLocke1990 Please add the code in your theme.css/base.css/style.css file which is available in your theme.
@media only screen and (max-width: 600px) {
header .header__icon.header__icon--cart img {
width: 50px !important; //change the number according to your requirement.
height: 60px !important; //change the number according to your requirement.
}
}
If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:
Result:
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Hello Sahil,
Thanks so much for your help!
Did you possibly see my above link?
Would you be able to help me with the following?
Thanks!
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