Unfortunately, there is no documentation about this, since it is a custom solution, but I can tell you here how you can do that:
To hide the "Apply and add new", "Prev" and "Next" buttons, you need to add the following CSS to your Custom CSS field in main settings of wpDataTables:
I would like to style the form that is opened for editing and adding new entries in a table:
I know, this can be done by CSS but I'm not able to find a documentation on how the fields are called.
Can you assist me here or point me to the documentation of these fields?
Thank you very much,
Caroline
Hello Caroline.
Thank you for your purchase.
Unfortunately, there is no documentation about this, since it is a custom solution, but I can tell you here how you can do that:
To hide the "Apply and add new", "Prev" and "Next" buttons, you need to add the following CSS to your Custom CSS field in main settings of wpDataTables:
This will just hide the button from front-end, but anyone who knows a thing or two about CSS can inspect the page and enable it again.
I don't know if you'll find it useful to hide it for all your tables, but if you do, here's how to remove it from the modal completely:
Open ../wp-content/plugins/wpdatatables/templates/frontend/edit_dialog.inc.php and around line 158 find these lines of code:
Just comment them, so they look like this:
and that will remove them from the "New Entry" modal.
To change the size of the labels inside the dialog, please use this CSS:
And to change the font size for the input fields, you can use this:
I hope this helps.
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
Hello Aleksandar,
Thank you for your reply, this worked like a charm.
Thanks again,
Caroline
You're welcome, Caroline
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