Make mobile menu white with black font

Topic summary

A user seeks to modify their mobile drawer menu to display a white background with black text on their Shopify store.

Proposed Solution:

  • Access Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add custom CSS code targeting mobile screens (max-width: 749px)

CSS Modifications Include:

  • White background for drawer elements
  • Black (#000) text color for drawer buttons, account links, and inner content
  • Black 1px solid border styling for menu components

The solution uses media queries to ensure changes apply only to mobile devices. The responder requests feedback through marking the solution and giving likes if helpful.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Hi,

I want to change the mobile drawer menu to white background and black font. My site is https://lux360.net

1 Like

Hi @Luxluxlux360

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
.drawer__content, .header__drawer .drawer__close, .drawer__menu .sliderow {
    background: white;
}

a.drawer__account, .drawer__button, .drawer__inner {
    color: #000;
}

.drawer__menu .sliderow {
    border-bottom: 1px solid black;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like