Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter bobbybrown235

    (@bobbybrown235)

    Also, is there anyway to make the rows more narrow than they currently are?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You’ll likely just have to fix a typo. Please change

    .tablepress tr,
    .tablepress tbody td,
    .tablepress thead th,
    .tablepress tfoot td {
    	border: none;
    }

    to

    .tablepress tr,
    .tablepress tbody td,
    .tablepress thead th,
    .tablepress tfoot th {
    	border: none;
    }

    (th instead of td).

    Making rows more narrow could probably be done by setting columns widths, e.g. via https://tablepress.org/faq/column-widths/

    Regards,
    Tobias

    Thread Starter bobbybrown235

    (@bobbybrown235)

    Hi,

    Thanks for your reply. I fixed the type of it didn’t work.. The other change didn’t do anything either and I noticed you put width… I’m looking to change the height of the cells… not the width…

    Thanks!!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, then please extend

    border: none;

    to

    border: none !important;

    For the height of the rows, you’ll have to either reduce the padding or the line-height in the cells.

    Regards,
    Tobias

    Thread Starter bobbybrown235

    (@bobbybrown235)

    Hi – got the line fix… Thanks!

    For the row height I already put the padding to 0 and am copying tables from OpenOffice Calc (basically Excel but free open source). It doesn’t seem to matter how small I make the line height in the spreadsheet. They always come out the same once uploaded. Any ideas?

    Or did you mean something else by reduce ‘the line-height’?

    Thanks again!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that the border worked!

    And yes, the padding is set to 0, so we’ll have to adjust the line height via CSS as well. Doing that in Calc or Excel is not possible, as TablePress only imports the data from there.

    Instead, please extend

    .tablepress td,
    .tablepress tfoot th {
    	padding-left: 15px;
    }

    to

    .tablepress tbody td,
    .tablepress tfoot th {
    	padding-left: 15px;
    	line-height: 14px;
    }

    Regards,
    Tobias

    Thread Starter bobbybrown235

    (@bobbybrown235)

    Perfect! Thanks so much! Awesome plugin and even better support!!!!!!!!!!!

    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 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove line at top of bottom cell’ is closed to new replies.