How to fix white dropdown text and black mobile icon in Debut theme?

Topic summary

A user modified the Debut theme header to black, which created two visibility issues:

Problems identified:

  • Dropdown menu text turned white on white background, making it unreadable
  • Mobile menu icon became black on black background, rendering it invisible to users

Solution provided:
Another user shared CSS code to fix the color conflicts by:

  • Adding custom CSS to theme.css file via Online Store → Theme → Edit code
  • Targeting specific elements (.site-nav__label, .site-header__cart, header icons) with color overrides
  • Using media queries for desktop (min-width: 750px) and mobile (max-width: 749px) breakpoints

Current status:
The original poster confirmed the dropdown text issue was resolved but reported the mobile menu button remains the same color as the header background, still preventing customers from seeing where to open the menu. The discussion remains open with this mobile visibility issue unresolved.

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

Hi everyone I recently coded to change the header to black for the debut theme however it is now making my drop down colour white the text. It also is making the icon on mobile black so I cant click to see drop down.

Anyone know some code to fix? Thankyou

https://recharge-apparel-3038.myshopify.com/

1 Like

@kaidickson

oh sorry for that issue can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
@media (min-width: 750px) {
    span.site-nav__label, .site-header__cart, .site-header__search, .site-header__account, .site-header__icon .icon-search, button.btn--link.site-header__icon.site-header__menu.js-mobile-nav-toggle.mobile-nav--close
    {
      color: #000000 !important;   
    }
}
@media (max-width: 749px) {
.site-header__icons .btn--link, .site-header__icons .site-header__cart {
    color: #fff !important;
}
}

Thankyou for this!

Can you help me a bit more. It makes my dropdown menu button the same colour as the heading so customers on mobile cant see where to open the menu.