Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
i want to turn the button SALE in the header menu into red color please.
This is my website: www.stainlessbags.com
Solved! Go to the solution
This is an accepted solution.
Hi @stainlessbags ,
Please do the following:
In Online store, select Themes -> ... -> Edit code
In the theme.css file, add the following code at the end of the file:
.site-nav.list--inline.site-nav--centered li:last-child{ background-color: red; }
Click Save to save changes
Hope it helps @stainlessbags
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: paste bellow code in tag </body> -> save.
<style>
[href="/collections/sale-1"] span {
color: red !important;
}
</style>
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
unfortunately nothing changed when i did as you described.
it looks like you are on DAWN theme. i am on Debut theme if that makes sense!
can anyone help please ?
This is an accepted solution.
Hi @stainlessbags ,
Please do the following:
In Online store, select Themes -> ... -> Edit code
In the theme.css file, add the following code at the end of the file:
.site-nav.list--inline.site-nav--centered li:last-child{ background-color: red; }
Click Save to save changes
Hope it helps @stainlessbags
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
thank you for the help, it works great on desktop but not visible on mobile, any solution to that ?