Topic summary
A user wanted to make their header transparent or remove its fill color when clicking the drawer menu button on their homepage, similar to the Vivienne Westwood website effect. They were using the Origin theme.
Solutions Provided:
Two working CSS solutions were offered:
-
Custom CSS approach: Add code to the Theme settings Custom CSS section targeting
.overflow-hidden-desktop .header-wrapperwith semi-transparent background -
Base.css modification: Edit the
base.cssfile directly with more comprehensive styling including:- Semi-transparent header background
- Menu drawer positioning adjustments
- Navigation padding modifications
- Close icon z-index fixes
Resolution: The user confirmed one of the solutions worked perfectly. Both approaches use rgba(var(--color-foreground), .5) to achieve the semi-transparent header effect when the drawer menu is open.
Please share your store url for a better understanding.
Hi @MaisonBillonDon ,
I am from Mageplaza - Shopify solution expert.
Here is the solution to achieve your requirement:
- Go to your Shopify admin panel.
2.Navigate to Online Store > Themes.
3.Click Customize on your current theme.
4.Look for a “Custom CSS” section under the Theme settings and add CS rule:
.overflow-hidden-desktop .header-wrapper{
background: rgba(var(--color-foreground), .5);
}
Here is the result:
Please let me know if you need any further instructions.
Best regards
Hello @MaisonBillonDon ,
Here are the steps to apply the necessary changes in your Shopify store:
- In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
- Locate Asset > base.css and paste the following code at the bottom of the file:
.overflow-hidden-desktop .header-wrapper, .overflow-hidden-tablet .header-wrapper {
background: rgba(var(--color-foreground),.5) !important;
}
.menu-drawer {
top: 0 !important;
}
.menu-drawer__navigation {
padding: 3rem 0;
padding-top: 10rem !important;
}
svg.icon.icon-close {
position: absolute;
z-index: 111 !important;
}
Let me know if you need further assistance!
This worked perfectly thank you !



