How to style a menu item differently - if it is on the same level as the rest? #160
Unanswered
andreimoment
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can just add a class to any item you like: <li><a class="my-item" href="#">My item</a></li> and add some CSS for it in some of your stylesheets: .my-item {
color: red !important;
} Note: You might need to use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If all the items are on the same level - would it be possible to style one of them differently?
How would I approach such a scenario?
Example:
Beta Was this translation helpful? Give feedback.
All reactions