What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I modify the hover action in the Dawn theme header?

Solved

How can I modify the hover action in the Dawn theme header?

Day204
Excursionist
34 0 8

 

Hi! I am trying to change the hover action for the search and shopping bag icons in my header. Currently it is the default magnifying glass action. Could someone help me remove the hover action and make it so that the fill color changes when you hover over it? I am trying to replicate the hover action from the social icons in my footer.

I am using the Dawn theme and my website is www.day204clothing.com


Please let me know if you have any questions and your help is greatly appreciated!

Screenshot 2022-10-31 at 10.16.28 PM.png

 

I make pretty things.
Accepted Solutions (3)

GabrielS
Shopify Partner
486 107 115

This is an accepted solution.

Hi there,

 

Adding the following CSS at the end of your base.css file should address your question:

.header__icon:hover .icon {
  transform: none !important;
  opacity: 0.5 !important;
}

 

Let me know if this fixed your issue.

 

 

Cheers!

Gabriel Soare | Web Developer
Are you looking to customize your Shopify or to fix a website bug?
You can reach me through my website gabrielsoare.com, DM, or email hello@gabrielsoare.com.
Have I helped you? Like my post.

View solution in original post

PageFly-Richard
Shopify Partner
4808 1088 1758

This is an accepted solution.


Hi @Day204 .

 

I’m Richard Nguyen from PageFly- Free Landing Page Builder

 

You can go to Online store => themes => actions => edit code  and add this code on file base.css

.header__icon:hover .icon {
transform: unset !important;
opacity: 0.5 !important;
}


or

 

.header__icon:hover .icon {
transform: unset !important;
color: red !important;
}

 

Hope this answer helps.

Best regards,

Richard | PageFly

 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

KetanKumar
Shopify Partner
37445 3664 12119

This is an accepted solution.

@Day204 

yes, please try this code

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.

.header__icon:hover .icon {
    opacity: 1 !important;
    color: #ffa500;
}

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

View solution in original post

Replies 4 (4)

GabrielS
Shopify Partner
486 107 115

This is an accepted solution.

Hi there,

 

Adding the following CSS at the end of your base.css file should address your question:

.header__icon:hover .icon {
  transform: none !important;
  opacity: 0.5 !important;
}

 

Let me know if this fixed your issue.

 

 

Cheers!

Gabriel Soare | Web Developer
Are you looking to customize your Shopify or to fix a website bug?
You can reach me through my website gabrielsoare.com, DM, or email hello@gabrielsoare.com.
Have I helped you? Like my post.

PageFly-Richard
Shopify Partner
4808 1088 1758

This is an accepted solution.


Hi @Day204 .

 

I’m Richard Nguyen from PageFly- Free Landing Page Builder

 

You can go to Online store => themes => actions => edit code  and add this code on file base.css

.header__icon:hover .icon {
transform: unset !important;
opacity: 0.5 !important;
}


or

 

.header__icon:hover .icon {
transform: unset !important;
color: red !important;
}

 

Hope this answer helps.

Best regards,

Richard | PageFly

 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

tarek_guma
Excursionist
22 0 3

This worked! Thanks

KetanKumar
Shopify Partner
37445 3664 12119

This is an accepted solution.

@Day204 

yes, please try this code

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.

.header__icon:hover .icon {
    opacity: 1 !important;
    color: #ffa500;
}

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing