Re: help with menu hover color

Solved

help with menu hover color

vivvy1522
Excursionist
27 0 4

Hi, I Would like to add an hover color when a customer "hovers" on the navigation menu of my website. I can't figure it out.  here's my website www.xmine23.com and I'm using a paid theme. Local by Krown. thanks.

Accepted Solution (1)

Moeed
Shopify Partner
4991 1327 1610

This is an accepted solution.

Hey @vivvy1522 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.site-nav.style--classic nav>ul>li>.menu-link:hover {
    background: aliceblue !important;
}
</style>

RESULT:

Moeed_0-1720001882627.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
4991 1327 1610

This is an accepted solution.

Hey @vivvy1522 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.site-nav.style--classic nav>ul>li>.menu-link:hover {
    background: aliceblue !important;
}
</style>

RESULT:

Moeed_0-1720001882627.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
vivvy1522
Excursionist
27 0 4

Thank you so much! It works perfectly 

Moeed
Shopify Partner
4991 1327 1610

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

sahilsharma9515
Shopify Partner
1161 146 222

Hi @vivvy1522 Please add the code in your theme.css/base.css/style.css file which is available in your theme.

 

nav>ul>li:hover {
    background-color: darkblue !important; // change color according to your need
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1720002178363.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️