Shopify themes, liquid, logos, and UX
Hi All,
I am currently using the Impulse theme. How can I change the color of "Sale" to red on the navigation bar and ensure it works with both the English and Chinese translations of my page?
Thank you !
Best regards,
Pammy
Solved! Go to the solution
This is an accepted solution.
can you please share the store url so that i can give you an exact code and instructions.
thanks
This is an accepted solution.
can you please share the store url so that i can give you an exact code and instructions.
thanks
Please add below JS code into your theme .liquid file before the </body>
Online Store > Edit Code > Theme Files > Layout folder > theme.liquid file
<script>
$(document).ready(function(e) {
$('.site-nav__item .site-nav__link:contains(Sale)').css('color','#d00');\
});
</script>
Hi,
Thanks for your solution. but it didn't work😑
In your Shopify Admin go to online store > themes > actions > edit code
Find Asset > base.css and paste this at the bottom of the file:
.site-nav__item [data-link="/collections/all-sale/Red"] {
color: red;
}
I can't find the base.css file. Can I paste the code in theme.css.liquid instead?
yes plz
@howlythk is that fixed or not? if not i can fix that for you 🙂
not work
.site-nav__item [data-link="/collections/all-sale/Red"] {
color: red !important;
}
Please add the one i shared above.
Added but doesn't work
not work
can you share collaborator access with me i would love to do that for you.
I apologize, but I am unable to grant you collaborator access. Thank you very much for your assistance. Do you have any other suggestions or alternative methods to fix this issue?🙏
Added but doesn't work
Can I do it for you?
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
[data-link="/collections/all-sale/Red"] {
color: red;
}
[data-link="/zh/collections/all-sale/Red"] {
color: red;
}
I can't find the base.css file. Can I paste the code in theme.css.liquid instead?
Hi Please add theme.liquid below line
#site-nav-item--6{ color:red }
Please click on Customise button and follow the steps
1. Click on header
2. go to custom css and past that code.
3. #site-nav-item--6{ color:red }
It will work
added but not work
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025