Support » Plugin: TablePress - Tables in WordPress made easy » Rendering different tables for different screen sizes

  • Resolved tdammon


    Hi all,

    I have created a table with the TablePress plugin that looks nice on a desktop. The problem is on a tablet or smaller the cells get small and the table requires scrolling. I want to use a different table (with vertical alignment) when the screen size is tablet or mobile.

    Could someone point me in the right direction.

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg



    Thanks for your post and sorry for the trouble!

    For some other approaches (than scrolling) for making tables look better on small screens, you could also check out the Responsive Tables feature module that is part of the TablePress premium versions.

    Creating two separate tables would of course also be an approach, but it would be more maintenance work for you and it would affect performance a little bit. To show one of these tables depending on the screen size, you could then use some CSS code that switches the table visibility based on a CSS media query, for example.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.