Issue with Changing Menu Colors on My Website

Topic summary

A user is trying to change the background color of dropdown menus on their Shopify website (aqua-reve.com) but cannot find the correct solution.

Attempted Solutions:

  • Multiple community members provided CSS code snippets targeting menu elements like .hdt-dropdown-menu and .hdt-sub-menu
  • Suggestions included adding code to theme.liquid or theme.css files
  • Proposed color changes used hex codes like #b6e0fe (light blue)

Current Status:

  • The issue remains unresolved
  • The user clarified they need to modify the menu background, not text color
  • Latest attempt partially worked but didn’t apply to all menu sections (“didn’t take all the bottom”)
  • Screenshots were shared showing the specific menu areas needing modification

The discussion is ongoing with no complete solution yet achieved.

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

Hello everyone,

I am currently facing an issue on my website aqua-reve.com. I would like to change the color of two menus throughout the entire site, but I can’t seem to find the solution.

Could someone please help me?

Thank you in advance for your assistance.

Best regards,

Hey @Makeis

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 tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Makeis

Step 1: Go to Online StoreThemeEdit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file → Save

.hdt-header-col .hdt-navigation .hdt-nav__ul >.hdt-menu-item:nth-child(2) .hdt-menu-list .hdt-menu-link .hdt-menu-link-text, #hdt-nav-ul-mb >.hdt-menu-item:nth-child(2) .hdt-menu-item .hdt-menu-link-text {
    color: #0000ff !important;
}

It’s not the text that can be modified, it’s the background of the menu, thank you for your response.

like this ?

Or ?

.hdt-dropdown-menu, .hdt-sub-menu { background-color: #b6e0fe !important; } .hdt-dropdown-menu li, .hdt-dropdown-menu a, .hdt-sub-menu li, .hdt-sub-menu a { background-color: #b6e0fe !important; }

hello @Makeis ,

try this code

#shopify-section-sections--18840772083977__header .hdt-dropdown-menu {
    border-color: #b6e0fe !important;
    background-color: #b6e0fe !important;
  }

  #shopify-section-sections--18840772083977__header .hdt-dropdown-menu a {
    background-color: #b6e0fe !important;
  }

It didn’t take all the bottom, is that normal?