Table with flip mode, is flipping top row with first column on mobile device
-
Hi Tobias,
I need some help with the table press and table press extension.
I use 2 tables on this pages.the table halfway the page (figuur 5 with ID 1) is perfect and behaves good on desktop, tablet and mobile.
But the table on the bottom of this page (figuur 8 with ID 2) is somehow flipping the top row and first column. This is visible on iPhone, macOS safari and firefox.
Example:
dekstop view: https://imgur.com/a/CR3Lodb
mobile device view: https://imgur.com/i0XWfC9Can you suggest how to use this table as expected. A Fixed first row (flip mode) and all other rows scrollable.
Her is the Custom CSS:
.tabel {
font-size: 15px;
font-family: “myriad-pro”, sans-serif;
font-style: Normal;
line-height: 1.6em;
font-weight: 400;
letter-spacing: .02em;
outline: none;
resize: none;
color: black;
}.tablepress thead th {
vertical-align: top;
}.tablepress .column-1 {
font-weight: 700;
}.tablepress thead th,
.tablepress tfoot th {
background-color: #F4F3F2;
color: #000;
}.tablepress .row-hover tr:hover td {
background-color: #009fe3;
color: #fff;
}.tablepress .sorting:hover,
.tablepress .sorting_asc,
.tablepress .sorting_desc {
background-color: #009fe3;
color: #fff;
}.tablepress-id-1 .column-1,
.tablepress-id-1 .column-2,
.tablepress-id-1 .column-3,
.tablepress-id-1 .column-4,
.tablepress-id-1 .column-5,
.tablepress-id-1 .column-6,
.tablepress-id-1 .column-7,
.tablepress-id-1 .column-8,
.tablepress-id-1 .column-9,
.tablepress-id-1 .column-10,
.tablepress-id-1 .column-11,
.tablepress-id-1 .column-12 {
width: 131px;
}.tablepress-id-2 .column-1,
{
width: 150px !important;
}.tablepress-id-2 .column-2,
.tablepress-id-2 .column-3,
.tablepress-id-2 .column-4,
.tablepress-id-2 .column-5,
.tablepress-id-2 .column-6 {
width: 131px;
}The page I need help with: [log in to see the link]
- The topic ‘Table with flip mode, is flipping top row with first column on mobile device’ is closed to new replies.