Shopify themes, liquid, logos, and UX
My drop down menu on desktop is transparent making it hard to read. How can I make it solid white?
Solved! Go to the solution
This is an accepted solution.
Hey @MacyMaeDesigns
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
ul.site-nav__dropdown.text-left {
background: white !important;
}
</style>
RESULT
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @MacyMaeDesigns
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
ul.site-nav__dropdown.text-left {
background: white !important;
}
</style>
RESULT
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
That worked, thank you!
The newsletter/discount pop up I have is doing the same thing, is there a code for that?
Hello @MacyMaeDesigns
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.modal-open .modal:before {
background: #a7a3a3;
}
.modal-open .modal .modal__inner {
background: #fff;
}
Hello @MacyMaeDesigns
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.site-nav__dropdown {
background: #fff!important;
}
Hi Macy,
Use the following code in your CSS file to change menu to opaque:
/* Make dropdown menu background solid white */
.site-nav__dropdown,
.dropdown-menu,
.site-header__menu-item .site-nav__dropdown {
background-color: #ffffff !important;
opacity: 1 !important;
color: #000000 !important; /* optional: set text color to black */
}
/* Optional: Remove blur or transparency if using backdrop filters */
.site-nav__dropdown {
backdrop-filter: none !important;
}
If your dropdown still looks transparent, it's possible your theme uses JavaScript to apply styles or loads CSS dynamically. Let me know the theme you're using (like Dawn, Prestige, etc.) and I can tailor the fix more precisely.
Clear your browser cache if the change doesn’t show immediately.
Thanks
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