Home › Forums › DITA and XMetaL Discussion › Problem with overriding style for substeps › Reply To: Problem with overriding style for substeps
Reply to: Problem with overriding style for substeps
August 31, 2010 at 12:23 amHi Joe,
The following code should work:
/* substeps */
[class~=”task/step”]>[class~=”task/substeps”] {
display: block;
list-style-type: decimal;
counter-reset: substeps;
}
Class-based styling in the override.css files works, however this case was tricky because it is necessary to override the styling defined for nested
- elements, in addition to overriding the styling defined for
Your second code example applies decimal styling to all types of lists, not just substeps, because you had the word “substeps” commented out. You probably did this by accident, but if it's what you're after, it will work!
Su-Laine