How to update Hyperlink color in Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-21-2025 07:07 AM
Hi, I wanted to have a new color for Knowledge article Hyperlink in all places. can some one help where to update it. I updated the CSS variables field of the portal '$link-color:' but it didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-24-2025 10:51 PM
Hi @Chaiatnya,
I have tried it out, and as described in the custom stylesheet, I added the code as shown in the screenshot below.
The result is:
Please mark this answer as Helpful if this solution works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-25-2025 08:08 AM
Hi @Ramya V Thanks again, it didn't work. something is not correct with my instance. Do you think any thing overriding it. Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-25-2025 08:40 AM
Hi @Chaiatnya,
Please let me know which class you are seeing in the stylesheet when you inspect the hyperlink. It might be because you're implementing this in Employee Center Pro, as you mentioned earlier, whereas I have implemented it in Employee Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-25-2025 03:05 AM
hi @Chaiatnya - you can 'Inspect Element' to find the object that need to update to show the required color.
Example -
then, you can make required modifications in theme or widget instance css, as shown below, for you requirement-
Hope this helps!
Note - If my answer helps you, please mark it as correct and accepted, thank you
Akansha Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-25-2025 08:07 AM
@Akansha Gupta Thanks for your reply, not sure what is wrong with my instance, it's not working
do you have any other suggestion