All things Shopify and commerce
Hi! My customized cart icon is appearing at different sizes on different screen sizes. I want it to keep proportional. How can I fix it? URL: Avvoyer.com Password: seipra
Solved! Go to the solution
This is an accepted solution.
Hi @Avvoyer
You have this code.
Try to add this one in the theme.liquid. here is the instruction and code.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
.header__icon--cart .icon {
height: 2.6rem !important;
width: 4.4rem !important;
}
</style>
And save.
This is an accepted solution.
Hi @Avvoyer
You have this code.
Try to add this one in the theme.liquid. here is the instruction and code.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
.header__icon--cart .icon {
height: 2.6rem !important;
width: 4.4rem !important;
}
</style>
And save.
Thanks! It worked perfectly!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025