You can insert it in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables (if you want to be applied for all tables) or directly on the page between <style></style> tags(if you want to customize only one table)
Yes, this worked. I should have thought of it. I think I was avoiding it because there's so much talk about how !important is bad but I am the end user here so I think it will be OK.
Is there a way to set the colors of a grouping row?
Hi Mark,
Thank you for your purchase.
Yes you can change that by adding this CSS rule:
You can insert it in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables (if you want to be applied for all tables) or directly on the page between <style></style> tags(if you want to customize only one table)
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Milan,
Thanks. It works but only on certain rows.
Here are the contents of "Custom JS AND CSS" in main settings of wpdatatables:
.wpdt-c label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
color: white; }
tbody tr td.group {
background-color: red;
color: green;
}
The screen shot wpDataTable-Def.png shows the table edit mode.
Screen shot wpDataTable-Live.png shows the same table on the site.
I have looked everywhere to see if I have code that would override the tbody tr td.group settings you provided. Any thoughts would be appreciated.
Mark
Hi Mark,
Can you try to add !important for every rule like this:
If that not help, can you please send me a link of that page where is that table so we can investigate. Thank you.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi Milan,
Yes, this worked. I should have thought of it. I think I was avoiding it because there's so much talk about how !important is bad but I am the end user here so I think it will be OK.
Mark
Hi Mark,
You are welcome. Glad that we help you.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables