• Resolved nbisl

    (@nbisl)


    Hi,

    I have a page with nothing but a table in it, and I would like the table to fill the horizontal space of the page; It however stays to its minimum width, and I can’t set the size of individual columns either.

    http://www.high-altitudes.com/test-tableaux/

    This is with the following bits regarding width in the TablePress custom CSS:

    .tablepress {
    width: auto;
    margin: 0 auto 1em;
    }

    .tablepress-id-1 .column-1 {
    width: 500px;
    }

    The only thing that kinda works is to set the tablepress width to a big value like 1000px. The table is then much larger and I can manually set the widths for columns, but then the table will not resize if the page is made bigger or smaller.

    Am I missing something?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The table is actually spanning 100% of the available content width. The empty space on the right is actually reserved for your sidebar and widgets by your theme.
    You could however check if your theme offers a Full Width page template, which you can then choose on the page’s “Edit” screen.

    Regards,
    Tobias

    Thread Starter nbisl

    (@nbisl)

    Hi,

    Thank you so much for your fast answer, and you are absolutely right. I was a brand new page I just created for testing purposes, and I overlooked the page template :).

    Fixed now, cheers!

    Plugin Author Tobias Bäthge

    (@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 ‘Table not resizing (sticking to its minimum width°’ is closed to new replies.