How to update Hyperlink color in Portal

Chaiatnya
Tera Contributor

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.

10 REPLIES 10

Hi @Chaiatnya,

I have tried it out, and as described in the custom stylesheet, I added the code as shown in the screenshot below.

RamyaV_0-1740466108679.png

The result is:

 

RamyaV_1-1740466152907.png

Please mark this answer as Helpful if this solution works for you.

 

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.

Chaiatnya_2-1740499718601.png

 

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.

 

Akansha Gupta
Mega Sage

hi @Chaiatnya - you can 'Inspect Element' to find the object that need to update to show the required color.

 

Example -

AkanshaGupta_0-1740481234421.png

then, you can make required modifications in theme or widget instance css, as shown below, for you requirement-

AkanshaGupta_1-1740481353808.png

 Hope this helps!

Note - If my answer helps you, please mark it as correct and accepted, thank you

 

Akansha Gupta

 

@Akansha Gupta Thanks for your reply, not sure what is wrong with my instance, it's not working

Chaiatnya_0-1740499538541.png

 

Chaiatnya_1-1740499594862.png

do you have any other suggestion