My website: kwa-e.com
I just found a code online for making the header transparent, but I found that my original dropdown menu isn’t showing up completely in white. Is there a problem with my code, or do I need to add something extra to it?
Grateful for any help, thank you!
Hey @k3k3k3
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above </ body> tag
<style>
.header-wrapper:has(.menu-opening) {
background: white !important;
}
</style>
RESULT:
Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.
Best,
Moeed
Hey @k3k3k3
Remove the previous code and add this updated code mentioned below.
<style>
.header-wrapper:has(.menu-opening) {
background: white !important;
}
.menu-drawer__localization .localization-form__select {
width: 100% !important;
}
.menu-drawer__navigation-container {
height: 85% !important;
}
.menu-drawer__utility-links {
padding-left: 25px !important;
}
</style>
RESULT:
Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.
Best,
Moeed



