For my website, I chose to use a customizable template for the navigation bar. I am looking to modify the color of the underline of the text without changing the actual text color itself. Since the underlining feature and the text need to be in the same selector, I am having trouble. Some may suggest adding a vertical rule and coloring it, but the issue lies in not knowing the exact spacing between the underline and the text. Is there a way to have the text and underline be different colors? Thank you for any help you can provide!
Screenshots: