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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024