• Resolved chrishallgren

    (@chrishallgren)


    I”m sorry to post this question but I have read thru the FAQs and also tried to search the support forum and can’t find an answer to my problem. I’m sure it’s a very easy answer – I just can’t seem to figure it out ??

    I’m using WordPress 4.1.1 and TablePress 1.5.1.

    I just started using TablePress – I like it a lot and I have figured out how to do most of what I want to do, but there’s one simple thing I can’t figure out how to get working. I just need to set the width of the table – either by percent or pixels. I don’t see that option on the table edit screen. I tried adding custom CSS on the Plugin Options table, but can’t seem to get a width to work.

    I need to indent the table a little on the left, so I need to shorten the table for it to fit. Thanks in advance for any help!

    Chris

    Here’s a link to a test page:

    https://www.iptacs.com/test-page/

    Here’s the Custom CSS I’m trying to use:

    .tablepress-id-3,
    .tablepress-id-3 tr,
    .tablepress-id-3 tbody td,
    .tablepress-id-3 thead th,
    .tablepress-id-3 tfoot th {
    margin-left: 75px;
    border-color: #999;
    border-style: solid;
    border-width: 1px;
    line-height: normal;
    word-spacing: normal;
    vertical-align: top;
    text-align: left;
    letter-spacing: normal;
    font-size: 10pt;
    }

    .tablepress-id-3,
    .tablepress-id-3 tr,
    .tablepress-id-3 tbody td,
    {
    width: 80%;
    }

    .tablepress-id-3 .column-1 {
    width: 25%;
    }

    .tablepress-id-3 .column-2 {
    width: 25%;
    }

    .tablepress-id-3 .column-3 {
    width: 25%;
    }

    .tablepress-id-3 .column-4 {
    width: 25%;
    }

    https://www.ads-software.com/plugins/tablepress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chrishallgren

    (@chrishallgren)

    OMG, nevermind. I just figured it out! GA!!!! So obvious!

    .tablepress-id-3 {
    width: 85%;
    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Good to hear that you found this! Yes, this looks like the solution! Very nice!

    Best wishes,
    Tobias

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Table Width’ is closed to new replies.