How to alter the 'sale' tab font color on the main menu?

Hi, how do i change the “sale” tab font colour on main menu to red?

url: elita.com.sg
password: clewth

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.scss.css and paste this at the bottom of the file:
.navigation .navigation__container ul.navigation__links li:nth-child(2) a {
color: red;
}
.navigation .navigation__container ul.navigation__links li:nth-child(2) a:hover::after {
background-color: red;
}

hi there, it works but the “Contact us” also became red now

@elitaco

Please try this css

.navigation .navigation__container ul.navigation__links li:nth-child(2) a {
color: red;
}
.navigation .navigation__container ul.navigation__links li:nth-child(2) a:hover::after {
background-color: red;
}

.navigation .navigation__container ul.navigation__link--secondary li:nth-child(2) a {
color: #000;
}
.navigation .navigation__container ul.navigation__link--secondary li:nth-child(2) a:hover::after {
background-color: #000;
}

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.scss.css and paste this at the bottom of the file:
.navigation .navigation__container ul.navigation__links:first-child li:nth-child(2) a {
    color: red;
}
.navigation .navigation__container ul.navigation__links:first-child li:nth-child(2) a:hover::after {
    background-color: red;
}

@dmwwebartisan hi, it’s still the same

@ZestardTech

hi, the “contact us” is no longer in red but the “dresses” is in red.

@elitaco

Remove previous css add this css

.navigation .navigation__container ul.navigation__links li:nth-child(2) a {
color: red;
}
.navigation .navigation__container ul.navigation__links li:nth-child(2) a:hover::after {
background-color: red;
}

.navigation .navigation__container ul.navigation__link--secondary li:nth-child(2) a {
color: #000;
}
.navigation .navigation__container ul.navigation__link--secondary li:nth-child(2) a:hover::after {
background-color: #000;
}

.navigation .navigation__container ul.navigation__sublinks:first-child li:nth-child(2) a {
    color: #000;
}

.navigation .navigation__container ul.navigation__sublinks li:nth-child(2) a:hover::after {
background-color: #000;
}

@dmwwebartisan

The “dresses” tab is in different colour

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.scss.css and paste this at the bottom of the file:
.navigation .navigation__container ul.navigation__links:first-child li:nth-child(2) a {
    color: red;
}
.navigation .navigation__container ul.navigation__links:first-child li:nth-child(2) a:hover::after {
    background-color: red;
}
.navigation .navigation__container ul.navigation__links:nth-child(2) li a {
    color: black;
}

@ZestardTech

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.scss.css and paste this at the bottom of the file:
.navigation .navigation__container ul.navigation__links:first-child li ul.navigation__sublinks li.navigation__sublink a {
    color: black;
}

thanks!

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.