Support » Plugin: TablePress » content of column not constant

  • Resolved babylon

    (@babylon)


    Hello, bit weird…
    If you check out the test page, on the right you see red velvet and the pricing is not the same aligned as the above carrot cake.
    Why is that and how to fix cause it doesnt look nice.

    • This topic was modified 4 years, 8 months ago by babylon.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this is that the browser calculates the width of the columns based on the content. And as that is different, the column widths are different.
    To align them, you can simply set the width manually, with CSS code. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .page-id-15211 .tablepress .column-2 {
        width: 300px;
    }

    This will make the second column of all tables on this page (which internally has the page ID 15211) the same.

    In addition, I recommend to uncheck the “Use DataTables” checkbox on the “Edit” screens of all tables (and not just the individual features).

    Regards,
    Tobias

    Thread Starter babylon

    (@babylon)

    great thanks..

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘content of column not constant’ is closed to new replies.