Hello, I want to make the dropdown-menus Watches and More to be displayed like the currency Menu shown on the picture. I want them to have white background with black letters and when I hover to have shadow effect.
Thank you in advance!
Topic summary
A user wants to customize dropdown menus (βWatchesβ and βMoreβ) to match the styling of their currency menu: white background with black text and a shadow effect on hover.
Solutions Provided:
Two contributors offered similar CSS-based solutions:
- Navigate to: Online Store β Themes β Actions β Edit Code β base.css
- Add CSS code targeting
.header__submenuand.header__menu-itemclasses - Key properties: white background, black text (#000), and gray background on hover
Issue Encountered:
The original poster reported that hovering over one menu item changes the background of the entire menu instead of just the individual item. They also asked about removing spacing.
Latest Fix:
A refined CSS snippet was provided targeting .header__submenu .header__menu-item:hover with a specific background color (#c8c8c8) to address the hover issue affecting individual items rather than the whole menu.
Status: Awaiting confirmation if the latest solution resolves the hover behavior problem.
- Here is the solution for you
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press βSaveβ to save it.
.header__submenu .header__menu-item {
color: #000 !important;
border-bottom: 1px solid black !important;
}
.js details>.header__submenu {
background: white !important;
}
.js details>.header__submenu:hover {
background: gray!important;
}
- Here is the result you will achieve:
- Please press βLikeβ and mark it as βSolutionβ if you find it helpful. Thank you.
Hello @PabloPier
Go to online store ---------> themes --------------> actions ------> edit code------->base.CSS
add this code at the very end of the file.
.js details>.header__submenu {
background: white !important;
}
.js details>.header__submenu:hover {
background: gray!important;
}
.header__submenu .header__menu-item {
color: #000 !important;
}
If this was helpful, hit the like button and mark the job as completed.
Thanks
Hi, thank you for the reply but when I hover the background is changed on all the tabs:
And also can we remove the space?
.header__submenu .header__menu-item {
color: #000 !important;
}
.js details>.header__submenu {
background: white !important;
}
.header__submenu .header__menu-item:hover {
background: gray!important;
}
@PabloPier can you try it
Please add this code
.header__submenu .header__menu-item:hover {
background-color: #c8c8c8 !important;
}
let me know if this works.







