Forums
Home / Everything else WordPress / Change color of one letter in menu item
(@mattmari)
3 years, 7 months ago
Hi everyone,
I’m trying to change the colour of one letter in a menu item.
It’s not the first letter so I can’t use the first letter css.
I’ve looked everywhere and can’t find a solution to this.
Would really love to learn how to do this in a menu, thank you!
(@joyously)
Menu item labels can contain HTML, so put a <span> around it with a style or a class attribute.
<span>
Thanks Joy, I had no idea you could put it straight into the menu title.