Shopify themes, liquid, logos, and UX
Hi,
I wanted to change the background to black and font to white on my navigation menu drawer only (not all drawers like cart) for both mobile and desktop
my site is https://luxurymrkt.com/
Hello @Luxurymrkt ,
You need to add this code in the theme files. For which you need to go to Online Store > Actions (Active theme) > Edit Code > Assets, under assets add the code at the bottom of theme.css file.
#NavDrawer{
background-color: #000;
}
.mobile-nav .mobile-nav__link{
color:#fff !important;
}
.mobile-nav>.mobile-nav__item{
background-color: #000 !important;
}
#NavDrawer .drawer__close-button{
color:#fff;
}
This is Noah from PageFly - Shopify Page Builder App
Hi @Luxurymrkt Please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
.drawer__contents{
background: black !important;
}
.drawer__close-button{
color: white !important;
}
.mobile-nav__item {
background-color: black !important;
}
.mobile-nav__link{
color: white !important;
}
</style>
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025