Hyperlinks in Service Portal not underlined or highlighted

RichardSaunders
Tera Guru

When editing a knowledge aritcle hyperlinks are showing highlighted and underlined.

See last sentence 'Video guidance is available here'

find_real_file.png

When clicking Related Links > View Aritcle they display only highlighted.

find_real_file.png

But in Service Portal view they are neither highlighted or underlined, but are clickable as a hyperlink.

find_real_file.png

Is there any reason for this, or can anyone shed any light on this?

1 ACCEPTED SOLUTION

Brandon Barret1
Mega Sage

There seems to be a change when looking at some templates in the Portal vs. the KB or Service Catalog. My bet would be that there is some css that is removing the text decoration from the links, like

 text-decoration: none;

and you want it to be

color: blue; 
text-decoration: underline;

You can apply this style inline in your HTML to ensure the links display the way you want. This is all just a guess, but I think this post may shed a bit of light on the topic for you:

https://community.servicenow.com/community?id=community_blog&sys_id=9c4daee5dbd0dbc01dcaf3231f96193a

I hope it helps!

View solution in original post

2 REPLIES 2

Brandon Barret1
Mega Sage

There seems to be a change when looking at some templates in the Portal vs. the KB or Service Catalog. My bet would be that there is some css that is removing the text decoration from the links, like

 text-decoration: none;

and you want it to be

color: blue; 
text-decoration: underline;

You can apply this style inline in your HTML to ensure the links display the way you want. This is all just a guess, but I think this post may shed a bit of light on the topic for you:

https://community.servicenow.com/community?id=community_blog&sys_id=9c4daee5dbd0dbc01dcaf3231f96193a

I hope it helps!

Thanks Brandon