Hi,
thanks for your post, and sorry for the trouble.
As this table is using DataTables, we’ll have to be a little bit more strict in the CSS. Please try
.dataTables_wrapper .tablepress-id-10 {
width: auto;
margin: 0 auto 1em !important;
}
Regards,
Tobias
Thank you so much Tobias. Things look much better now!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
…
habe es jetzt mit einigen Syntax-Versionen (leider vergeblich) versucht, die Sortier-Pfeile in nur einer Spalte (in diesme Fall bei “DATEIANHANG”) zu entfernen:
http://www.wolfgang-schmidtke.de/sammlung
Gibt es da bitte eine Lösung?
Hi,
just hiding the sorting arrows is possible with this “Custom CSS” in this example:
.dataTables_wrapper .tablepress-id-4 thead .column-3:after {
content: "";
}
However, what you actually want is to turn off sorting in that column entirely. So, the better solution is to paste
"columnDefs": [ { "orderable": false, "targets": 2 } ]
into the “Custom Commands” (“Eigene Befehle”) text field on the “Edit” screen of the table. The 2 in that code indicates the third column, as counting starts from 0 here.
Regards,
Tobias
HI Tobias,
grest – that was difficult. I understand:
I use both solutions here(secondf table “teilgenommen”:
http://www.wolfgang-schmidtke.de/konzerte
The second solutiion is better – but now there is the problem with the 2px (row DATUM).
Above the camera-Icon i put the first solutaion. Of coure I can “klick” there – but that looks nice.
Thanks a lot!
Hi,
ah, this Firefox issue with the borders again…
Yeah, then the first solution is better on your site.
Best wishes,
Tobias
Hi Tobias,
Sorry to bug you again, but I’m having an issue with the changes we made there for the mobile version of the site.
At the moment, everything looks fine on the pc version but now chart data is coming up if you check out this for example:
http://procomputergambler.com/nfl-2/
can check how it looks on mobile via:
http://mobiletest.me/iphone_5_emulator/#u=http://procomputergambler.com/nfl-2/
Thanks again.
Tom
Hi Tom,
can you please be more specific here? I’m not exactly sure that I understand what exactly the issue is. Are you refering to the missing responsiveness?
Regards,
Tobias
If you look at a table on a pc, >1 row comes up.
If you look at a table on a phone, 1 row comes up (plus the header) instead of say 10 rows.
Never mind Tobias. It looks like my developer fixed it. Sorry to bother you…it must have been something unrelated to tablepress.