Thank you in advance if tell me how to add custom css-style to a specific item of Secondary Menu (I use Mono theme, but this js-code might be almost the same in all themes).
For example, my Secondary Menu looks like:
Banana
Apple
Lemon
I want to add style=“color: yellow;” for item 3 (Lemon).
I think we can count -maybe- 10 different ways of achieving this. But I would do it with just CSS, in code injection. CSS is very powerful. You don’t need to change HTML for that kind of things. You just need to find the correct CSS selector. Something like:
<style>
.nav li:nth-child(3) a {
color: yellow;
}
</style>
According to HTML structure and your actual needs, there can be different ways of writing this. You can explore how to use CSS for your needs.