How can i change the color of single navigation menu

Topic summary

A user wants to change the color of a specific navigation menu item (“CLEARANCE SALE”) to red on their Shopify store.

Multiple solutions provided:

  • CSS approach (most common): Add custom CSS code to the base.css or theme.css file targeting the specific menu item with selectors like #HeaderDrawer-clearence-sale or a[href="/collections/sale"] and setting color: red !important;

  • Alternative method: Insert CSS code in the theme.liquid file above the </head> tag

Implementation steps:

  1. Navigate to Online Store → Themes → Actions → Edit code
  2. Locate and open the appropriate CSS file
  3. Add the provided CSS code at the end of the file
  4. Save changes

Multiple responders shared screenshots demonstrating the expected result. The discussion appears resolved with several working solutions offered.

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

I want to change “CLEARNCE SALE” color to Red

https://nailzypakistan.com/

Hello @Laiba ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your base.css file and paste the following code at the bottom:

a[href="/collections/sale"] {
    color: #ff0000 !important;
}

Thanks

Hello @Laiba

Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.

#HeaderDrawer-clearence-sale {
color: red !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

  • Here is the solution for you @Laiba
  • Please follow these steps:

  • Then find the base.css or theme.css file.
  • Then add the following code at the end of the file and press ‘Save’ to save it.
#HeaderDrawer-clearence-sale {
     color: red !important;
}
  • Here is the result you will achieve:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.

Hi @Laiba

This is Richard from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Richard | PageFly