Hi,
thanks for your question, and sorry for the trouble.
For 1.: That’s possible with this TablePress Extension: http://tablepress.org/extensions/change-datatables-strings/
For the other questions, we will need to use some CSS code. In order to find that code, I’ll need to take a look at the page with the table in question. Can you please provide a link? Thanks!
Regards,
Tobias
Thread Starter
rekmit
(@rekmit)
Hi Tobias, thank you for the speedy response, much appreciated. Here is the link: http://www.transferpricing.wiki/general-transfer-pricing-information/country-matrix/
Re my Q5: changing the color surrounding the arrows would also be fine.
Hi,
thanks for the link!
Here’s some CSS code (for the “Custom CSS” textarea on the “Plugin Options” screen of TablePress) that should fix most of your issues:
.dataTables_length {
padding-top: 3px;
}
.dataTables_filter {
margin-bottom: 5px;
}
.dataTables_wrapper label input,
.dataTables_wrapper label select {
outline: 0;
}
.paginate_disabled_next:after,
.paginate_disabled_previous:before,
.paginate_enabled_next:after,
.paginate_enabled_previous:before {
text-shadow: none;
}
Regards,
Tobias
Thread Starter
rekmit
(@rekmit)
Hi Tobias, thanks!
The plugin does not appear to be working. As soon as I change anything in the lang-en_US.json file in the new plugin folder, the .js features disappear (no paginating, no search). Am I doing something wrong?
Also the CSS code does fix the alignment but not the blue highlighting of the search box and the next/previous arrows.
Hi,
can you please change the JSON file so that it does not work again? That way, I can investigate what’s the reason for that.
The CSS changes work for me, in Google Chrome I don’t see the blue outline nor the borders around the next/previous errors. What browser are you using?
Regards,
Tobias
Thread Starter
rekmit
(@rekmit)
Done!
Ah, I see the blue stuff is gone in Safari, I was testing with Firefox.
Hi,
thanks! From what I can see, the program that you are using to edit the JSON file is not using regular (upright) quotation marks " but some fancy ones “.
Can you please try editing that file again in Notepad or TextEdit?
For the blue outline, we can also try to be more aggressive: Please try replacing`
.dataTables_wrapper label input,
.dataTables_wrapper label select {
with
.dataTables_wrapper label input,
.dataTables_wrapper label input:focus,
.dataTables_wrapper label select,
.dataTables_wrapper label select:focus {
Regards,
Tobias
Thread Starter
rekmit
(@rekmit)
Ah, yes I was using TextEdit but for some reason some of the quotation marks got replaced with fancy ones. This works, many thanks!
Replaced CSS but blue borders remain in Firefox. But that doesn’t bother me too much, so no worries!!
Thank you so much for you excellent and quick support, much appreciated.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Firefox might be a little bit more strict here then, as this blue outline serves a usability aspects for users as well.
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!