Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

TOPIC:

Glossary highlighting -> Font colour 4 years 8 months ago #6450

  • GoodWork
  • GoodWork's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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.

Glossary highlighting -> Font colour 4 years 8 months ago #6451

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 855
  • Thank you received: 264
Hi Stefan
Try the following:
.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.

Glossary highlighting -> Font colour 1 year 2 weeks ago #8795

  • victoriavika
  • victoriavika's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 1
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!

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

Last edit: by victoriavika.

Glossary highlighting -> Font colour 1 year 2 weeks ago #8798

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 855
  • Thank you received: 264
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.

Glossary highlighting -> Font colour 1 year 2 weeks ago #8799

  • victoriavika
  • victoriavika's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 1
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.

Glossary highlighting -> Font colour 1 year 2 weeks ago #8800

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 855
  • Thank you received: 264
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.054 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search