Shopify themes, liquid, logos, and UX
Hello
I want my dropdown menus also hover a background color as my main menu.
Currently only the Text Color changes, but I want a rectangular colored box on hovering dropdown menu.
I want to hover my dropdown menu like this -
Sorry for bad English, I hope I manage to make you understand what I need.
Website link: www.modfashiongs.uk
Thank you.
Solved! Go to the solution
This is an accepted solution.
Please try this css
.dropdown{
padding: 0 !important;
}
.dropdown .dropdown__menuitem:hover {
background-color: #2f2f29 !important;
color: #fff !important;
}
Change color code a/to your need.
Thanks
Hello @GiasUddin ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your stylesheet.css file and paste the following code at the bottom:
.dropdown {
background-color: var(--nav-background-color);
}
Thanks
I'm sorry it didn't work.
I want to fill the red marked area with different color when I hover my curser on it.
This is an accepted solution.
Please try this css
.dropdown{
padding: 0 !important;
}
.dropdown .dropdown__menuitem:hover {
background-color: #2f2f29 !important;
color: #fff !important;
}
Change color code a/to your need.
Thanks
You're a saver. Thank you!!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024