• Resolved obegu2001

    (@obegu2001)


    Sorry for this little problem.

    In responsive mode, I got this with your code to change the height of columns 2 and 5
    example 1

    how can i get this vertical center alignment?
    example 2

    Is it possible to use vertical align center in head and body in responsive mode?

    Thanks for your patience
    Best regards
    Bob

    • This topic was modified 4 years, 10 months ago by obegu2001.
    • This topic was modified 4 years, 10 months ago by obegu2001.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To get that, please add something like to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    @media screen and max-width: 979px {
      .tablepress-id-4 thead th,
      .tablepress-id-4 tbody td {
        vertical-align: middle;
      }
    }

    Regards,
    Tobias

    Thread Starter obegu2001

    (@obegu2001)

    Thank you Tobias.
    Unfortunately this solution does not work: in the cells where I have changed the height, the text always remains aligned above
    🙁
    Table on my site
    Regards.
    Bob

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    bummer 🙁 I just checked again, and it looks like that this is a browser limitation when the flip mode is used. As this is modifying how the browser renders a table (it deviates from the normal process), not all things, including the vertical alignment, can be changed 🙁 Sorry.

    Regards,
    Tobias

    Thread Starter obegu2001

    (@obegu2001)

    Sigh … Thanks anyway Tobias.

    Regards
    Bob

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem! Sorry again for not having better news here.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Tablepress head align text’ is closed to new replies.