How to remove the hover effect from the icons

Solved

How to remove the hover effect from the icons

CreatorTim
Navigator
471 1 71

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?

CreatorTim_0-1737155380019.png

 

Here’s my store: https://1049xn-ya.myshopify.com/

 

Thanks,
Tim

 
Accepted Solution (1)

EstherBui
Trailblazer
276 39 44

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

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

View solution in original post

Replies 5 (5)

EstherBui
Trailblazer
276 39 44

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

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

CreatorTim
Navigator
471 1 71

Thank you man!

DaisyVo
Shopify Partner
4460 499 594

Hi @CreatorTim 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

.header__icon:hover .icon, .modal__close-button:hover .icon {
    transform: scale(1) !important;
}

 

 

I hope this helps

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
CreatorTim
Navigator
471 1 71

Thank you!

tinedgt
Shopify Partner
11 0 4

hey, what if you want to add the hover effect to a custom cart icon? is it doable?