Change the style of "varname"

Post here questions and problems related to editing and publishing DITA content.
catherine
Posts: 158
Joined: Fri Nov 10, 2017 8:16 am

Change the style of "varname"

Post 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
catherine
Posts: 158
Joined: Fri Nov 10, 2017 8:16 am

Re: Change the style of "varname"

Post by catherine »

Hi, I add the following sentence in my customization css file, and it works! :D
var.varname {color:#004277;font-size: 28px;}
Post Reply