Apologies for the long delay, we have been very busy sorting out all the tables.
Unfortunately, your suggestion didn't work or I have not placed the code correctly, please see below. I have typed "1" in the League filter box but this cannot be seen.
You're right. The CSS I sent was when the filters are set above the table, but here you are using them in the Table's header, so we will try a different solution.
I found the Page of one of your Tables, so here is what you can try.
Hi,
How would I change the font colour of the filter box text please?
Hi Andy,
Try this CSS selector, you should be able to use it to add any styles to your filters section :
.wpDataTablesWrapper .wpDataTableFilterSection {
color : red !important;
}
If you want this in only one table, add it to this table's Customize/Custom CSS;
Or if you want all your tables to have a style applied, add this in the Plugin's global/main settings/Custom JS and CSS/Custom CSS.
I hope it 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
Hi Milos,
Apologies for the long delay, we have been very busy sorting out all the tables.
Unfortunately, your suggestion didn't work or I have not placed the code correctly, please see below. I have typed "1" in the League filter box but this cannot be seen.
Any help would be appreciated.
Thanks
Andy
Hi Andy,
You're right. The CSS I sent was when the filters are set above the table, but here you are using them in the Table's header, so we will try a different solution.
I found the Page of one of your Tables, so here is what you can try.
For any text filter, please try this one :
This seems to be working well on that League filter and others, such as "Home", "away" etc:
For the Date filters :
This one is for the "From" date :
This one for the "to" date range :
And this for numeric filters in the Header :
That should cover all of them.
If you need a specific text color in the Filter as header row only in one Table, add this to that table's Customize/Custom CSS;
or if you wish all tables which have filters in the header to get the same style - add it to the main Plugin settings/Custom JS and CSS/Custom CSS.
Let me know how it goes.
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
Thanks Milos,
Great customer support as always, will try this out tonight.
Another if I may...Date format in overall settings. Can we do a 'd Mon y' or 'd Mon' version please?
I guess another CSS entry?
Thanks
Andy