WordPress.org

Forums

TablePress
[resolved] Alignment between multiple tables (5 posts)

  1. theconsolidatedlodge
    Member
    Posted 1 year ago #

    Hi, I have reviewed the support section and FAQs. Although there are several topics on Alignment, my issue is a bit different and I have already played around with CSS snippets with no result.

    I have multiple tables on a single page, all tables have three columns. The alignment of the columns, from one table to the next, do not match up. Take a look here: http://theconsolidatedlodge.com/info/history/

    Could someone please suggest how I may be able to fix this?

    Thanks.

    http://wordpress.org/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this is that the browser calculates different column widths for the tables, due to their different content.
    To change this, you'll need to set the column widths of all tables on the page, e.g. with this CSS code

    .tablepress-id-3 td,
    .tablepress-id-4 td,
    .tablepress-id-5 td,
    .tablepress-id-6 td,
    .tablepress-id-7 td,
    .tablepress-id-8 td {
        width: 33%;
    }

    that needs to be added to the "Custom CSS" textarea on the "Plugin Options" screen of TablePress.

    Regards,
    Tobias

  3. theconsolidatedlodge
    Member
    Posted 1 year ago #

    Thank you SO much, Tobias. I really appreciate the assistance and your prompt response. The code worked perfectly for us and made me realize that I can trim down my existing code a bit.

    Best,
    Joe

  4. JGravesNBS
    Member
    Posted 1 year ago #

    Question on theconsolidatedlodge site:

    http://theconsolidatedlodge.com/info/history/

    Past Masters tables

    Is that a table with three fields?

    or

    Is it a table with 1 field with shotrcode to wrap into three columns?

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    all of those Past Masters tables are separate tables with three columns and several rows (one row for each line) each.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic