Can I override -oxy-append-content?

singlesourceror
Posts: 1
Joined: Thu Feb 20, 2020 2:21 am

Can I override -oxy-append-content?

Post by singlesourceror » Thu Feb 20, 2020 2:28 am

Hello.
I am working with a DITA framework extension and I am trying to style a resourceID in my CSS. The element has a -oxy-append-content function in one of the core DITA stylesheets. I want to make the appended content go away and replace it with new content. Is there a way to do this?
Cheers,
Rob Hanna

Radu
Posts: 7208
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I override -oxy-append-content?

Post by Radu » Thu Feb 20, 2020 11:14 am

Hi Rob,

You can overwrite it with something like:

Code: Select all

*[class~="topic/resourceid"]:before{
 content: "test";
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply