Tables, which were and, in some cases, still are commonly used for webpage layouts, are a nightmare for web designers. The main problem is that tables work best with fixed widths on PC displays, rather than mobile devices on which undesirable experience can occur.
Tables are used to display your information in an organized way, which makes it easier for your users to read it.
They are hard to make responsive, but there are creative solutions that can help you make responsive tables. By creating responsive tables, you will improve the user experience, no matter the type of device.
By creating a responsive table, you create instructions for a table of data. The instructions can be set up to determine breakpoints based on the size of a display. Due to such an instruction set, if a user views the table on a display that is smaller than your set breakpoint, the table will reformat to fit the display.
You can reformat responsive tables by adding a scroll bar or simply stacking the information. However, don’t just shrink and stuff the information in the cells together as the screen size changes, as it might make your table unreadable.
Many useful plugins can help you create responsive tables, and to save you some time, I’ve created a list of the most popular ones.
TablePress
Your tables can contain any data, even formulas. There is an additional JavaScript library, which adds additional features such as sorting, pagination, filtering, etc. With ease, you can import and export tables from and to Excel, CSV, HTML, and even JSON filetypes. After the installation, you can create and manage your tables on the “TablePress” screen in your WordPress Dashboard. This plugin is open-source, meaning it is free to use.
wpDataTables – Tables & Table Charts
Features
- Excel – Text & video documentation
- CSV – Text & video documentation
- JSON – Text & video documentation
- XML – Text & video documentation
- Serialized PHP array – Text & video documentation
WP Responsive Table
Features
- Works out of the box, no need for any additional settings
- No need for shortcodes & it works with regular HTML tables
- Customizable table styles
- Table column sort – demo
- Free of charge
Make Tables Responsive
Features
- Configure post/page content & text/HTML widgets
- Select affected screen size
- Select the cell background and the border color for both even and odd rows
- Enable/disable only for posts and pages by ID
- Fully automatic
- No changes to the actual post/page content (database)
- Reverse any changes by simply deactivating the plugin
Magic Liquidizer Responsive Table
The plugin doesn’t build tables, but rather it works with HTML tables and lets you set the breakpoint for your tables where they change between the formats. Specify the tables by using classes or IDs, or use the default table settings. The HTML table automatically stacks the tables vertically. The plugin adds “display: none;” to the table CSS at the set viewport width, and through JavaScript, it rebuilds the table as an HTML description list.
Be careful, as page tables can overlap in small screens or when dragging your browser to minimizing it for mobile screens simulation, especially when the table contains large texts and images. Install and activate the plugin, and all the tables embedded into posts and pages will become responsive.
Automatic Responsive Tables
Features
- Specify specific tables you’d like the plugin to affect.
- Set the best breakpoint for responsiveness
- Optional styling available
- Supports all major browsers
- Exclude option available
- Applies to dynamically loaded tables
- Backend style editor comes with a preview panel
- Fully supports IE5+
Conclusion
Creating and managing tables is not that hard when you have a good WordPress table plugin. Use plugins to make responsive tables that work on both desktop PCs and mobile devices, and along the way, improve your site’s user experience. Let the plugin do the work for you and invest your precious time elsewhere.