Report any technical problems you discover and discuss solutions.

How do I make sure that some glossery words do NOT have a hover?

  • Martens
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 3 months ago #7348 by Martens
In other parts of the text the word must have a hover action to the glossery, but not in this specific heading. How do I change that?
Attachments:

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

More
5 years 3 months ago - 5 years 3 months ago #7361 by simonbarne
I've found a way but it's pretty hacky. Edit the source of your text:
Code:
<ul> <li><strong><span class="nogloss1">Een</span></strong>. Je kunt de student meteen aan het begin van de e-learning een interactie laten maken...</li> </ul>
Then add a style to the page:
Code:
.nogloss1:after { content: " interactie"}
Seems to work!


Or - a bit easier - insert a character to break up the word, then hide the character:
Code:
<strong>Een inter<span style="display:none">~</span>actie</strong>. Je kunt...
Attachments:
Last edit: 5 years 3 months ago by simonbarne. Reason: Another thought
The following user(s) said Thank You: Martens

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

Moderators: ronmjultenJohnSmith
Time to create page: 0.127 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo