[Plugin: WP-Table Reloaded] Alternate row highlighting not working
-
I cannot get the alternate row highlighting to work. I’m using a custom theme I created from a blank theme (with its .odd & .even rules removed). The plugin’s “Alternating row colors” checkbox is checked and is not working. Switching to the default Twenty Ten theme didn’t solve the problem. Next I tried editing the custom css in the plugin options (which also didn’t work):
.wp-table-reloaded-id-1 .odd td {
background-color:#e5e5e5 !important;
}What is weird is that when I look at view source I see the tr even and odd classes. However, when I inspect the table in Firebug or Chrome these classes don’t appear – it just says tr class=”row 1″, tr class=”row 2″, tr class=”row 3″, etc.
The only solution I can think of is to manually write out all of the CSS rules, but one of my tables is 400 rows:
table.highlight .row-3 td,
table.highlight .row-5 td,
table.highlight .row-7 td,
table.highlight .row-9 td,
…
table.highlight .row-401 td {
background-color:#e5e5e5 !important;
}Surely there’s a simpler solution. The site is located here:
Herzlichen Dank!
- The topic ‘[Plugin: WP-Table Reloaded] Alternate row highlighting not working’ is closed to new replies.