I have tried looking everywhere for what seems like an easy solution, but cannot find it. Attached are two images for the Clear Filters button. The background is black, with black font, and in hover mode, it is Blue with Black text. How can I change this?
You haven't missed it, it can't be done with simple settings, but you'd have to do it with custom CSS.
To change the color of the text inside the "Clear Filters" button, simply add the following code in Custom JS and CSS, under CSS field in main wpDataTables settings:
.wpdt-c .button.btn.wdt-clear-filters-button {
color: white !important;
background-color: red !important;
}
.wpdt-c .button.btn.wdt-clear-filters-button:hover {
background-color: green !important;
}
Hello,
I have tried looking everywhere for what seems like an easy solution, but cannot find it. Attached are two images for the Clear Filters button. The background is black, with black font, and in hover mode, it is Blue with Black text. How can I change this?
Sorry if I missed this somewhere.
Thanks for any help with this!
Hi Kevin.
You haven't missed it, it can't be done with simple settings, but you'd have to do it with custom CSS.
To change the color of the text inside the "Clear Filters" button, simply add the following code in Custom JS and CSS, under CSS field in main wpDataTables settings:
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Thank you so much!
Works like a charm.
You're welcome Kevin
Glad I could help.
If you have any further questions or issues, please feel free to open a new ticket and we'll gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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 Aleksandar
I cannot find why this works on some pages, but not on others.
Here, it does not work:
https://wkevin.com/new_england_snow/
Here, it does:
https://wkevin.com/new_england_snow/your-records/
How can that be?
Thank you!
Kevin
Hi again Kevin
Can you try moving the filters in a form above the table on this page https://wkevin.com/new_england_snow/?
"Clear Filters" is under two different selectors on these pages, so that is why it's not working on the first page.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Yes, that works.
I guess the filter needs to be in a form above the table, like you said, so I'll go that route for that page.
Thank you!
You're welcome Kevin
Glad I could be of service.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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