My website: kwa-e.com
AI-generated summary
A store owner customized a Shopify theme to make the header transparent, but the mobile dropdown menu was not displaying fully in white. A suggested fix was to add CSS in theme.liquid above the closing </body> tag so the header wrapper turns white when the menu is open: .header-wrapper:has(.menu-opening) { background: white !important; }.
After applying the fix, the header issue appeared resolved, but a new layout problem appeared: the lower part of the price/localization area in the mobile menu was positioned incorrectly.
The latest recommendation is to remove the previous CSS and replace it with an expanded style block. It keeps the white header-on-menu-open behavior and also adjusts the mobile menu localization selector width, navigation container height, and utility links padding.
The discussion appears to have a proposed solution, but final confirmation from the store owner after applying the updated code is still pending.
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



