Skip to main content
Nintex Community Menu Bar
Question

Overide odd row shading on 19th column only

  • July 10, 2024
  • 1 reply
  • 4 views

Forum|alt.badge.img+8

I have the following inline CSS: .nx-skootable-data tbody tr td:nth-child(19) { background-color: #ADADAD; } .nx-skootable-data th:nth-child(19) { background-color: #ADADAD; } It works, except that the odd rows are being shaded based on my theme template. Is there a way to override the odd row shading shading on just the 19th column?

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+5
  • July 10, 2024

It seems, that the theme is still overriding your style.

I could get it working by adding !important.

.nx-skootable-data tbody tr td:nth-child(19), .nx-skootable-data tr th:nth-child(19) {&nbsp;&nbsp; &nbsp; <br>&nbsp; background-color: #adadad !important;&nbsp;<br>}&nbsp;



note: If you want it on the 19th row you’d need to change the selector to this: 


.nx-skootable-data tbody tr:nth-child(19) td {&nbsp;&nbsp; &nbsp; <br>&nbsp; background-color: #adadad !important;&nbsp;<br>}&nbsp;