PDF row background colours

Trying to figure out how to remove the background colour from the odd rows on the pdfs. What is needed? I’ve tried several things including

.table-striped>tbody>tr:nth-of-type(odd) {
background-color: rgba(255,255,255,0);
}

but no go…

Did you tried something like this?

table.item-table tr:nth-child(2n-1) td {
  background: transparent !important;
}

And that fixed it! Thank you. I didn’t even think of using !important, I just figured anything in custom-pdf.css would automatically override without it.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.