Table Problems - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Table Problems

WB

Wolfgang Beckers

SP Page Builder 1 month ago

Hello, I added some new rows to a table without header and was surprised, that the first row was invisible on my iphone in portrait mode. When I turn my iphone in landsape, the row is visible. Because I couldn't find the reason, I added pagination to this table and the first row onmy iphone is now visible, but I noticed, that is first row is visible on each page of the following pages, like a header row. The same happens, when I turn on a header. For a better understanding have a look to the following pages:

https://www.will-cassel.de/en/links is the table without header and pagination and the first row escapes in portrait mode of my smartphone

https://www.will-cassel.de/de/links is the table with pagination and the first row is on the second page like a header

https://www.will-cassel.de/de/presse/online-medien is another table with the the same issues like the others but with header and pagination and this version works fine. But I would use the tables without header. May be there is a bug, using the table without header

0
8 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #203276

Hi There!

Sorry for the inconvenience.

Got the behavior at my end. However, the following code in your custom CSS might be helpful in this case:

@media only screen and (max-width: 568px) {
    .sppb-no-table-header tbody tr:first-child {
        display: block !important;
    }
}

Here is all about custom code placement in Helix Ultimate: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

Best regards,

0
WB
Wolfgang Beckers
Accepted Answer
1 month ago #203282

Hi Rashida, I put the code in helix in the custom code before </head but the result is a very small image and the table design is broken on the iphone in portrait mode! means the colums are not matching. I can send you a screenshot if you like, but I didn't found an upload icon

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #203552

Hello,

Sorry for the delay.

Please upload your image to any of your online server and then share just the link here. You may consider any online free tool either such as imgur, lightshot, etc.

Best regards,

0
WB
Wolfgang Beckers
Accepted Answer
1 month ago #203728

Okay, here you can find the screenshot of my iPhone in portrait view:

https://www.will-cassel.de/images/iPhone_Screenshot.jpg

Below "Links" you can find the image of Krefeld (see also two rows below) in a very small size and the text is nearly in the same columns. The other entries are looking very well, only the first row is in a bad condition. You can see it also online here: https://www.will-cassel.de/en/links with a smartphone in portrait. The problemis gone, removing the CSS code and using pagination like this https://www.will-cassel.de/de/links

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #203807

Hi,

Thanks for the details.

In your case the code should be this instead of the previous snippet:

@media only screen and (max-width: 568px) {
    .sppb-no-table-header tbody tr:first-child {
        display: table-row !important;
    }
}

Please let me know the update.

Note: You need to put the code in the custom CSS field of your template options.

Best regards,

1
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #203981

Hello,

Hope you are doing well. Did you check my last reply?

Thanks!

1
WB
Wolfgang Beckers
Accepted Answer
1 month ago #204111

Hello, sorry for my delay, but I spent some holidays. Now I tested your code and it seems, it works fine. Thanks!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #204246

Hi,

No issues:) Glad that it helps!

You may accept the most useful answer in order to close the post...

Have a nice day!

0