Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This should be possible with some “Custom CSS” code, that you can add on the “Plugin Options” screen, for example:

    .tablepress-id-123 th,
    .tablepress-id-123 td {
      border: 1px solid #cccccc;
    }

    to add borders and

    .tablepress-id-123 {
      width: auto;
    }

    to reduce the width.
    (The table ID has to be adjusted as necessary.)

    Regards,
    Tobias

    Thread Starter JimSouza

    (@jimsouza)

    Here is my update:

    The border lines works perfectly.

    However the Width reduction did not work at all. Here is what I did:

    .tablepress-id-2 {
    width:50 auto;
    }

    Result: My table size/width remain same even when I used ” width:10

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    width:50 auto;

    is not a valid CSS command.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter JimSouza

    (@jimsouza)

    I added the 50 after the code you sent didn’t work.

    Am afraid to post my money site on public forum. Can I send it to your email?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m afraid that making the tables smaller is not really possible, as the content in the table simply requires some space (the images and the text has to go somewhere) after all.

    Now, the suggestion for a different kind of responsiveness should take care of that problem however, as it will make the table scrollable. Or do you have something else in mind for the width?

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add lines and table size reduction’ is closed to new replies.