WebHelp: topic.css breaks zebra striping
Posted: Tue Apr 21, 2026 3:47 pm
Hi,
We use CSS zebra striping with a custom WebHelp Publishing Template, initially created for Oxygen 26.1. With Oxygen 28.1 this does not work any longer. A look under the hood reveals that the following CSS from topic.css is the culprit:
I think this rule is a bit too broad and should be more precise in targeting the HTML elements to which it should be applied.
Best regards,
Frank
We use CSS zebra striping with a custom WebHelp Publishing Template, initially created for Oxygen 26.1. With Oxygen 28.1 this does not work any longer. A look under the hood reveals that the following CSS from topic.css is the culprit:
Code: Select all
.simpletable>:not(caption)>*>*,
.table>:not(caption)>*>* {
background-color: var(--wh-primary-bg,#fff);
color: var(--wh-primary-color,#000)
}
Best regards,
Frank