I want to change “CLEARNCE SALE” color to Red
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.cssortheme.cssfile targeting the specific menu item with selectors like#HeaderDrawer-clearence-saleora[href="/collections/sale"]and settingcolor: red !important; -
Alternative method: Insert CSS code in the
theme.liquidfile above the</head>tag
Implementation steps:
- Navigate to Online Store → Themes → Actions → Edit code
- Locate and open the appropriate CSS file
- Add the provided CSS code at the end of the file
- Save changes
Multiple responders shared screenshots demonstrating the expected result. The discussion appears resolved with several working solutions offered.
Hello @Laiba ,
Follow these steps:
-
Go to Online Store → Theme → Edit code
-
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



