When you view the glossary, all letters in the alphabet are displayed across the top for quick navigation.
When no glossary terms begin with a letter, that letter is displayed as normal text. The letters containing glossary terms are hyperlinked, and will appear the same color as other hyperlinks in your knowledge base.
You can customize the color and look and feel of inactive (no hyperlink) and active (hyperlinked) glossary header letters.
Active letters
To change the color of the glossary active/hyperlinked letters:
- Go to Settings > Style.
- Make sure you're viewing the Custom CSS section.
- Copy this code and paste it into the bottom of your Custom CSS:
/* Set color of active Glossary navigation letters */ a.glossary-jump-to-link:not(.btn) { color: #1f9baa; }
- To change the color, update the hex codein line 3 to be the color you'd like. You can also add additional styling, like changing the font-weight, font-family, underlining, etc.
- If you'd like, you can also update the color of the link on-hover. To do so, repeat the steps above but copy and paste this code:
/* Set color of active Glossary navigation letters on-hover*/ a.glossary-jump-to-link:not(.btn):hover { color: #fc9f00; }
- Be sure to Save your changes.
Inactive letters
To change the color of the glossary inactive/unhyperlinked letters:
- Go to Settings > Style.
- Make sure you're viewing the Custom CSS section.
- Copy this code and paste it into the bottom of your Custom CSS:
/* Set color of inactive Glossary navigation letters */
span.glossary-jump-to-link { color: #1f9baa; }
- To change the color, update the hex code in row 2 to be the color you'd like. You can also add additional styling, like changing the font-weight, font-family, underlining, etc.
- Be sure to Save your changes.
See an example
Here, I've added Custom CSS to adjust the active glossary letters to be blue, the inactive letters to be a light orange, and active glossary letters to turn a dark orange and get underlined when they're hovered over:
And here's the sample end-product, where I have active terms in A and S and I'm hovering over the S: