This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Glossary highlighting -> Font colour

  • GoodWork
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #6450 by GoodWork
Replied by GoodWork on topic Glossary highlighting -> Font colour
Hi Ron

And just another thing within this topic...
How can I get rid of the image (The image I link my hotspots to) border? In other templates there is a "show border" checkbox, but this one is missing here...

Thanks
Stefan

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #6451 by ronm
Replied by ronm on topic Glossary highlighting -> Font colour
Hi Stefan
Try the following:
Code:
.x_annotatedDiagram_page .highlight { background: #B32B76; } .x_annotatedDiagram_page .panel{ border:none; box-shadow:none; -moz-box-shadow:none; -webkit-box-shadow:none; }
Using .x_annotatedDiagram_page will mean that the styles only apply to that page type.
Change #B32B76 to whatever colour you want that works with the dark background and light grey text. In my example I have the Highlight colour set to #B32B76 rather than yellow so works well

To identify what IDs or Classes to target either look at the code or use your browser developer tools F12 and inspect the various elements.

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago - 2 years 7 months ago #8795 by victoriavika
Replied by victoriavika on topic Glossary highlighting -> Font colour
Hi Ron,
I stumbled upon this post and tried the code you included to change the glossary text colour.
Unfortunately it no longer works (I have Xerte 3.10). Do you know if it matters with the different versions of Xerte? or maybe I'm just not using the CSS style right. (although I follow exactly like what your screenshot showed).
Thanks!
Last edit: 2 years 7 months ago by victoriavika.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #8798 by ronm
Replied by ronm on topic Glossary highlighting -> Font colour
Hi
Please post a copy of the code you’ve used and a screen shot of where/how you have used it. Or even a public link to your page and we’ll have a look.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #8799 by victoriavika
Replied by victoriavika on topic Glossary highlighting -> Font colour
Hi Ron, thank you.
A public version can be found here: URL: xerte.cahss.ed.ac.uk/play.php?template_id=3351
Attached is the screenshot of the setup.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #8800 by ronm
Replied by ronm on topic Glossary highlighting -> Font colour
Hi
it looks like the selectors have changed in later revisions. Try something like the following:
span.x_glossary, span.x_glossary:visited, span.x_glossary:hover, span.x_glossary:active {
color: red !important;
}
If you want to change things like hover and focus color just add those separately e.g.
span.x_glossary:hover, span.x_glossary:focus{
color:green !important;
}
For others reading this thread at another time please share if that works for you.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: victoriavika

Please Log in or Create an account to join the conversation.

Moderators: ingdon
Time to create page: 0.146 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo