Hi, how do i change the “sale” tab font colour on main menu to red?
url: elita.com.sg
password: clewth
Hello There,
.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;
}
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,
.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
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;
}
Hello There,
.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;
}
Hello There,
.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.