Shopify themes, liquid, logos, and UX
Hello, there is a drop-down menu at the top left on the website I gave the preview link below. I want the background to be transparent when this menu is opened. Can anyone help me find the CSS code specific to this?
You can make it half-transparent.
Find your css file, and add to the class .menu-drawer this:
background-color: rgb(var(--color-background), .0);
I can't find .menu-drawer class
Add this CSS at the bottom of your main CSS file
.header__icon--menu[aria-expanded='true']::before{ background: transparent;}
Where should I add it?
In base.css file you'll fond the above class with CSS
Thank you very much for your help, but unfortunately it didn't work. I hope I'm not doing it wrong. I found the section you mentioned and added it in every way that could be added, but it didn't work.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025