• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer

WP SuperGeek

WordPress Design, Help & Training

Main navigation

  • Portfolio
  • Services
  • Learn WordPress
  • About
  • Contact
  • Blog

How to create responsive tables in WordPress

How far back into the history of the Internet can you remember?

I remember ICQ, fan message boards (my first teen celebrity crush was Billy Zane!), and the heady early days of building websites on Geocities. Those rudimentary (by today’s standards) websites embraced wallpapers of repeated images, rainbow gradients, and questionable graphic design.

And they were all laid out using tables.

In HTML, tables are used to create nested rows, columns, and cells. Think of an Excel spreadsheet, but for web design. They were a way to bring order to the chaos, to lay out the information on your website and have visitors see it exactly as you intended.

But over the years, CSS started replacing tables as the preferred method of layout. This made websites much cleaner, faster, and less clunky-looking. And once mobile-responsive design picked up steam, using tables had become a total no-no.

However, what do you do if you really need to use a table? While these projects are few and far between, I have employed tables on websites that need things like price lists, opening hours, or timetables.

For uses like these, I like the TablePress plugin.

TablePress makes it relatively easy to create and embed many kinds of tables in your website:

    1. Install the plugin into your WordPress website (usually through Appearance>Themes).
    2. Go to “TablePress” in the left-hand sidebar of your WordPress admin.
    3. Create a new table by clicking the “Add New Table” link.
    4. Enter the name, description, and number of rows and columns (you can always change this later).
    5. Enter the table information, and review all of the settings to make sure it will display the way you want it to.
    6. Copy the table’s shortcode (in the upper right-hand corner of the edit screen).
    7. Save the table.
    8. Navigate to the page you want the table to appear in.
    9. Edit the page, and paste in the shortcode where you want it to appear. You can also use the “Insert a Table from TablePress” button in the toolbar.

Note: If you have many columns in your table, you might find that it’s illegible on mobile devices. In this case, you’ll need to purchase the premium extension to make it responsive.

How did you go? Do you have any questions about tables? Ask away in the comments section!

SaveSave

SaveSaveSaveSave

Share this:

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn
  • Email
  • More
  • Print

More on WP SuperGeek:

Three no-code methods to lay out multiple photos in WordPress How to set up free contact forms on your WordPress website How to create a non-linking parent item in a WordPress menu Why you should care about responsive web design

Reader Interactions

Comments

  1. Isaac King says

    November 15, 2017 at 4:58 am

    Hey, great article once again.

    I really need to use a responsive table on my site for pricelists, but I am not happy with the way it displays on portrait mode on the iPad.

    Is there a setting I can use to change the layout to look like it does on my iPhone screen?

    Thanks in advance

    Isaac

    Reply
    • Tessa Needham Synnott says

      November 16, 2017 at 1:23 am

      Hi Isaac,

      Are you using the TablePress premium extension (https://tablepress.org/extensions/responsive-tables/)? You could try changing the view mode, or contact their support for further help.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Learn WordPress

WordPress Design

Categories

  • Ask a SuperGeek
  • Blogging
  • Coding
  • Design
  • General web help
  • Inspiration
  • Maintenance
  • Software
  • Troubleshooting
  • Uncategorized
  • WordCamp
  • WordPress Plugins

Search

Footer

Connect

  • Facebook
  • Instagram
  • LinkedIn
  • Pinterest
  • Twitter
WordCamp US Speaker

Latest blog posts

Ask a SuperGeek: Understanding domain names and web hosting

How Dubsado has changed the way I do business

How to create responsive tables in WordPress

Ask a SuperGeek: How to redesign your WordPress website with no downtime

Why the Procreate app is the coolest thing ever

Search

Copyright © 2023 · Digital Pro on Genesis Framework · WordPress · Log in