CSS For TEXT Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 12:53 AM
i have a container base card in that i have 10 Differnet Text link, by default the Label of text link is blue , i want 10 differnet colors for this different Text Link lable, tried to use CSS but it is not working ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 02:34 AM
Hi @ronhrhr
Since you are trying to use CSS so I am using that you are using portal?
So my suggestion would be on the assumption that you are trying this in Service Portal. You can try to right click on the link and click inspect as it will take you that particular object and from there you should be able to see where the color is coming of the text is coming from.
Please mark the answer helpful and correct if it resolves the issue. Happy scripting 🙂
-Shantanu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 05:35 AM
Sorry i think i was not clear, i am working on ui builder and i tried using inspect trick but still nothing working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:21 AM
The following settings in the theme will be applied
--now-text-link--primary--color
--now-text-link--secondary--color
Therefore, this cannot be changed with CSS.
Consider using rich text.