[Resolved] Special Class for Menu Item
Hi, I apologize in advance because I assume this has been asked and answered at least once before, however I can’t seem to find a thread that gets the job done for me.
I’m using the built in functionality in Appearance -> Menus for a top level nav bar. I’d like to add a special class to one of the list items so I can style it differently to make it stand out. Is there something I can do in functions.php to accomplish this?
As I’m writing this, I realized that I could probably use a psuedo element selector like ::last-child or nth-child for my purposes, but let’s assume there’s another reason I need a class on a specific list item in the nav bar, how would I go about that?
- The topic ‘[Resolved] Special Class for Menu Item’ is closed to new replies.