hi, i’d like to change the color of the word ‘sale’ on the main menu to red. any code for that? thanks.
Hey @Anonymous_d65591fabfe73ef1cdbdaa0a1489d355
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
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
Hello @Anonymous_d65591fabfe73ef1cdbdaa0a1489d355
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.css and paste this at the bottom of the file:
.list-menu.list-menu--inline [href="/collections/sale-1"] {
color: red;
}
thanks, it did work on desktop but not on mobile
Hey @Anonymous_d65591fabfe73ef1cdbdaa0a1489d355
Keep the previous code and add this new code above in the end of theme.liquid file.
a#HeaderDrawer-sale {
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
Hello,
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
#HeaderMenu-sale span {
color: red !important;
}
Thanks!
thanks!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.