Shopify themes, liquid, logos, and UX
Hi, when I hover over the icons for the magnifying glass, login, and cart in the header they slightly enlarge. How can I remove this?
Here’s my store: https://1049xn-ya.myshopify.com/
Thanks,
Tim
Solved! Go to the solution
This is an accepted solution.
Hi CreatorTim
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
.header__icon:hover {
scale: 0.94 !important;
}
Best,
Esther
This is an accepted solution.
Thank you man!
Hi @CreatorTim
.header__icon:hover .icon, .modal__close-button:hover .icon {
transform: scale(1) !important;
}
I hope this helps
Best,
Daisy
Thank you!
hey, what if you want to add the hover effect to a custom cart icon? is it doable?
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025