Page 1 of 1

Reltable links showing shortdescs

Posted: Mon May 26, 2025 5:44 pm
by Stacey
Hi There:

We've had a problem recently where shortdescs are showing in links created using RelTables.
I'd thought there was a property about this, but couldn't find it; I did find some older threads here that mentioned updating the CSS.
I tried 26.1 (no CSS updates) and it's acting how I expected (no shortdescs).
Were updates done in 27.1 to make showing these the default? Is this a bug? If not, what's the best way of hiding these?
(Ignore the whitespace, I just added a white box there.)
shortdescsinlinks.png
Bonus question: "Caution recommended for this feature." is alt text for an image. Is there a way to hide that/show the image in the visible shortdesc?

Re: Reltable links showing shortdescs

Posted: Tue May 27, 2025 10:17 am
by julien_lacour
Hello,

Since Oxygen 27.0, by default, if the target of a related-link includes a short description, that description will appear as text beneath the link.
However, it is possible to remove this text by adding one of the following rules in a CSS stylesheet:

Code: Select all

.wh_related_links .desc {
  display: none;
}

Code: Select all

.wh_related_links *[class ~= "topic/desc"] {
  display: none;
}
Regarding the bonus question, it is not possible to show the image instead of the text under the link.

Regards,
Julien

Re: Reltable links showing shortdescs

Posted: Tue May 27, 2025 1:22 pm
by Stacey
Hi Julien:

Yes, that did the trick. Thank you!