How to change the color of the hyperlinks in Dark mode?
- 14 Jun 2022
- 1 Minuut om te lezen
- Bijdragers
- Afdrukken
- DonkerLicht
- Pdf
How to change the color of the hyperlinks in Dark mode?
- Bijgewerkt op 14 Jun 2022
- 1 Minuut om te lezen
- Bijdragers
- Afdrukken
- DonkerLicht
- Pdf
The content is currently unavailable in Dutch. You are viewing the default English version.
Article Summary
Share feedback
Thanks for sharing your feedback!
When you have a dark color as the primary color and view the Knowledge base site in Dark mode, the hyperlinks would be partially visible. The primary color remains the same for both Light and Dark mode in the Knowledge base site. To overcome this scenario, you can change the color of the hyperlink.
Solution
You can change the color of hyperlinks in the Dark mode. This helps to avoid partially visible hyperlinks in the Dark mode.
- Go to Settings → Knowledge base site → Custom CSS & JavaScript, and Custom CSS tab is the default selection
- Paste the below CSS snippet in the window
body.dark_theme .content_block .content_container .content_block_text a {color: red !important;}
- Update the desired color in the above snippet
In the above sample snippet, it is red. You can replace it with your desired color
- Click Save
Outcome
Was dit artikel nuttig?