First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
I have a very low knowledge and understanding level in obsidian, css or other…
I’m searching for the easiest way to have colored underlining in the body of my document.
Just to be clear: this won’t work in source mode, but works fine in live preview and reading modes.
It shouldn’t matter but, you could try to put these color classes in a different file. Call it cssClasses.css or something. Also, what theme are you using?
Ok in a separate file it’s working, I guess in the file I previously used the current code above yours was preventing yours to be applied.
I will try the wrapping step now …