Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
Can you try this CSS selector?
table.wpDataTable th { background-color : blue }
That is the general selector for the headers in our tables, but let us know if you require something more specific.
If you need it for one table, add it in the table's Customize/Custom CSS,
or if you need same style for all tables, add this in main plugin settings/Custom JS and CSS/Custom CSS.
I would like to use custom css on a table to set the header background colour using a CSS Variable like var(--client-background-color)
what custom CSS would I have to add to the table ?
Thanks
Hi, Paul.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
Can you try this CSS selector?
That is the general selector for the headers in our tables, but let us know if you require something more specific.
If you need it for one table, add it in the table's Customize/Custom CSS,
or if you need same style for all tables, add this in main plugin settings/Custom JS and CSS/Custom CSS.
Let us know if that helps.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables