CSS class of menu item
-
I have given a menu item the class name of myclassname
In my Custom CSS Stylesheet Editor I have entered the code:
.myclassname {
color: blue;
}However, the menu item does not display as red. Please help!
-
Hi there!
You’re almost there with your custom CSS! This should work instead (and I used “red” instead of “blue”):
#menu .myclassname a {
color: red;
}If you DO want the color to be blue instead of red, just change it in the code.
Let me know if you have any other questions!
-
-
- The topic ‘CSS class of menu item’ is closed to new replies.