Report any technical problems you discover and discuss solutions.

Font Awesome in section titles

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
8 jaren 10 maanden geleden #4662 door Neil Pollock
Font Awesome in section titles werd gestart door 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
8 jaren 10 maanden geleden #4663 door Neil Pollock
Beantwoord door Neil Pollock in topic 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.126 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo