Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Font Awesome in section titles 7 years 2 months ago #4662

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
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:
<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?

Please Inloggen or Create an account to join the conversation.

Font Awesome in section titles 7 years 2 months ago #4663

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
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:
<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?

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.056 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search