All things Shopify and commerce
Hello,
I'm trying to change a Clearance button on the menu to red collor.
My theme is supply. my URL is txaquatic.com.
Can anyone please show me what code I can use and look like the only place I can put the code in is header.liquid
Thanks in advange
Solved! Go to the solution
This is an accepted solution.
Hey @texasaquallc
Keep the previous code and add this new code above </style> in the end of theme.liquid file.
a.mobile-nav--link[href="/collections/clearance"] {
color: red !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @texasaquallc
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 </body> tag
<style>
a.site-nav--link[href="/collections/clearance"] {
color: red !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks so much, it work on the desktop but still green on the mobile. do you can you please help me with code to make it turn red on the mobile as well. Please
This is an accepted solution.
Hey @texasaquallc
Keep the previous code and add this new code above </style> in the end of theme.liquid file.
a.mobile-nav--link[href="/collections/clearance"] {
color: red !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025