General questions and topics about Xerte Toolkits that don’t fit anywhere else.

Code to overwrite specific elements of built-in theme [SOLVED]

  • victoriavika
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 ans 11 mois - il y a 3 ans 11 mois #8286 par victoriavika
Hello,
this question has to do with themes.

I'm currently using the 'Future Teacher' theme that came with Xerte. However, I'm overwriting some styles using 'style'. For instance, I changed the font, and header and footer area colours. and the hover-over colour of the icons at the footer. However, there are 2 things I couldn't figure out how to change the colour of. The text of the progress bar, and the chevron that opens and close the tools. (see attached image).

I'm not great with css/html. could someone tell me what's the code to change these 2 things on my footer? many thanks!
Pièces jointes :
Dernière édition: il y a 3 ans 11 mois par victoriavika. Raison: forgot attachment; solved

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 11 mois #8287 par ronm
Hi
I haven't tested this but try the following:
#x_footerShowHide .fa, .fas {
color: yellow;
}
#x_footerProgress .pbTxt {
color: yellow;
}
Obviously change the color values to whatever you want them to be.
Keep in mind that custom styles like you have added via the styles optional property will break the accessibility options to change theme to high contrast or black on yellow. The proper way to do this is to make a copy of the Future Teacher theme, change that and then add that to your installation.
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/
Les utilisateur(s) suivant ont remercié: victoriavika

Connexion ou Créer un compte pour participer à la conversation.

  • victoriavika
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 ans 11 mois #8288 par victoriavika
Réponse de victoriavika sur le sujet Code to overwrite specific elements of built-in theme
Thank you!, I will try this. but first, how do I 'make a copy' of the Future Teacher theme?

Connexion ou Créer un compte pour participer à la conversation.

  • victoriavika
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 ans 11 mois #8289 par victoriavika
Réponse de victoriavika sur le sujet Code to overwrite specific elements of built-in theme
Just reporting back. Yes the code works! Thank you so much! Also, I tested all of the accessibility options and they all still worked properly!
thank you so much!

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.162 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo