Report any technical problems you discover and discuss solutions.

Font Awesome in section titles

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 8 ans 10 mois #4662 par Neil Pollock
Font Awesome in section titles a été créé par Neil Pollock
I have a project where I've used Font Awesome icons in section headings: xerte.cardiff.ac.uk/play_5974

This worked fine until the latest update, but now the text appears to be removed from the left hand nav menu (it appears correctly in the section titles).

The code used for each section heading follows the same format, e.g:
Code:
<p><i aria-hidden="true" class="fa fa-handshake-o fa-fw"></i> Introduction</p>

Am I missing something? Is there a reason the text would be removed when the nav list is generated?

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

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 8 ans 10 mois #4663 par Neil Pollock
Réponse de Neil Pollock sur le sujet Font Awesome in section titles
Actually, I've just had another play around, and it seems that if you wrap the icon html and text in a span tag it stops the text from being removed. For example:
Code:
<p><span><i aria-hidden="true" class="fa fa-map-marker fa-fw"></i> Finding your library</span></p>

So, I can use this workaround for the time being, but is there any chance of a fix?

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

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