Removing line on labels

tgcorbin
Mega Contributor

I am using labels as a way to have notes on my forms, but I do not like how they are underlined. Is there a way I can remove this line?test1.PNG

test2.PNG

Thanks

1 ACCEPTED SOLUTION

Community Alums
Not applicable

I don't think you can do this without DOM manipulation, or overriding the default system CSS. Both are not recommended, as if anything changes with those elements during an upgrade/patch, the things you implemented will no longer work.



Cheers,



Tim


View solution in original post

5 REPLIES 5

Community Alums
Not applicable

I don't think you can do this without DOM manipulation, or overriding the default system CSS. Both are not recommended, as if anything changes with those elements during an upgrade/patch, the things you implemented will no longer work.



Cheers,



Tim


rohantyagi
ServiceNow Employee
ServiceNow Employee

Hi tgcorbin, as Tim said, DOM manipulations is not recommended. Why dont you use the Help text while defining variables. If you want the help text to be visible always, you can select: Always expanded. What version are you on ? Istanbul or lower?



find_real_file.png


tgcorbin
Mega Contributor

I was told by higher ups not to use the show help. Not a fan of how it looks. The label with the line should be sufficient enough.


Cheryl Pledger
Tera Contributor

I realize this post is 2 years old but I just came across it and thought I'd add my workaround.  What I've done in the past is use a  Multiple Choice variable with no question choices.  It looks like a label without the underline.