Shopify themes, liquid, logos, and UX
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!
Solved! Go to the solution
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!
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.
This is an accepted solution.
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;
}
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!
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.
This worked! Thanks
This is an accepted solution.
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;
}
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024