Header Icon Color C...
 
Notifications
Clear all

Header Icon Color Change on Hover

5 Posts
2 Users
5 Reactions
1,433 Views
(@shaaba1)
Active Member
Joined: 4 years ago
Posts: 16
Topic starter  

Hello,

How can I make the icons on the far right-of the header change color when I hover over them?

I have no issues with the rest of the header with this feature.

 

Regards

Michael Gonzalez


   
Quote
Jasmine Keinsh
(@plakadmin)
Estimable Member Admin
Joined: 4 years ago
Posts: 131
 

Hi @shaaba1

Jasmine here from Plak support to assist you with your questions.

In order to move the icons so far to the right and add a color on hover, here is how to do it :

 

  • From your Shopify dashboard, click Online store > Actions > Edit code
  • Open the file theme.scss.liquid
  • At the very bottom, paste this code
a.site-header__icon:hover, i.fa-search:hover {
color: red;
}
.site-header {
padding-right : 0px !important;
}
  • Click Save

 

Note : In this example, the color on hover will be red, you can change its value to whatever you desire.

Kind regards,
Katrine

Jasmine | Plak theme support
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@shaaba1)
Active Member
Joined: 4 years ago
Posts: 16
Topic starter  

Hi,

Thanks for the quick response.

I have Plak 2.0

I just want the icons to change color on hover. I don't want to move them.

Is it just the first code that I need to use?

 

a.site-header__icon:hover, i.fa-search:hover {
color: red;
}

 

Also, if I want to use a hex color code how do I go about doing that?

Do I replace red in the above code with this code: #0088CC

Thanks

 
This post was modified 4 years ago by Michael Gonzalez

   
ReplyQuote
Jasmine Keinsh
(@plakadmin)
Estimable Member Admin
Joined: 4 years ago
Posts: 131
 

Hi @shaaba1

Sorry I misunderstood your question, and yes use just the first code

 

a.site-header__icon:hover, i.fa-search:hover {
color: red;
}

You can also use the Hex Color Color, example : 

 

a.site-header__icon:hover, i.fa-search:hover {
color: #751212;
}

Let me know if you have any other questions

Kind regards,
Jasmine

Jasmine | Plak theme support
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@shaaba1)
Active Member
Joined: 4 years ago
Posts: 16
Topic starter  

@plakadmin

Sweet!

Thank you


   
ReplyQuote
Share:

Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.

Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple