Page 1 of 1

Change the style of "varname"

Posted: Mon Jan 07, 2019 1:40 pm
by catherine
Hi,
I am not familiar with the customization of DITA Style.
Can you tell me how to change the style of the DITA element "varname".
By default, the style for the "varname" is
var{
font-style: italic;}

I want to change the font color to "red".
Can you instruct me where to change the style of "varname".

Thanks a lot!

Regards,
Catherine

Re: Change the style of "varname"

Posted: Tue Jan 08, 2019 5:25 am
by catherine
Hi, I add the following sentence in my customization css file, and it works! :D
var.varname {color:#004277;font-size: 28px;}