havenowords
Forum Replies Created
-
Hi Tobias,
Thanks again for the help. I tried but on mobile is not responsive anymore.
I also tried via JS like this but does not works
<script> document.getElementById("tablepress-9").addEventListener("scroll", function() { var translate = "translate(0," + this.scrollTop + "px)"; this.querySelector("thead").style.transform = translate; }); </script>Hi Tobias,
please try with selectors and CSS like
.tablepress-id-9 .column-1 {
width: 120px !important;
}if i use this i also have to leave the
datatables_scrolly=400pxattribute?I made something like this but ooks like this not fix the issue:
.tablepress-id-9 .column-4 { width: 120px; } .tablepress-id-9 .column-5 { width: 60px; } .tablepress-id-9 .column-6 { width: 120px; } .tablepress-id-9 .column-7 { width: 120px; } .tablepress-id-9 .column-8 { width: 120px; } .tablepress-id-9 .column-10 { width: 120px; } .tablepress-id-9 .row-1.odd .column-4 { width: 120px !important; } .tablepress-id-9 .row-1.odd .column-5 { width: 60px !important; } .tablepress-id-9 .row-1.odd .column-6 { width: 120px !important; } .tablepress-id-9 .row-1.odd .column-7 { width: 120px !important; } .tablepress-id-9 .row-1.odd .column-8 { width: 120px !important; }Hi Tobias,
This works for that test table thanks. But now i want to add this here
http://ap.nowcommu.myhostpoint.ch/
Please, scroll to the second section (Wohnungen) and then click on Weiter, you can see the table. How come now the header don’t fit the the content but looks like smaller?Hi Tobias,
But in my case the table is too long, this is why i decided to fix the height in 400px.