How can I change the font color of the SALE menu in the Dawn Theme?

I want to change the font color of SALE menu only. any help please?

@Kkhan

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

www.heerrang.pk

@Kkhan

thanks for quick URL can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css ->paste below code at the bottom of the file.
a[href="/collections/bari-eid-sale"] {color: red;} /* change color as you like */

Menu font is become Red, that is perfect. but button text is also goes red. see screen shot below. can we keep it white?

@Kkhan

yes, just change name in code that’s it

i am sorry, didn’t understand

i mean change this

a[href="/collections/yournewurl"] {color: red;} /* change color as you like */

to your url

Hi @Kkhan ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css->paste below code at the bottom of the file:
a[href="/collections/bari-eid-sale"] {
    color: red !important;
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Best regards.

Hello Ketan,

your solution is working since your response. but now i am facing problem like, when i click on the SALE menu (which red already) on next page, its color become black and then further page of the product this menu become RED again. please see screen shots below and help.