• Resolved tomt333

    (@tomt333)


    I hate to bother with what seems to be a simple question but I have searched the forums and have tried multiple ways of getting my text aligned without success.

    Here is the CSS I am trying to use:

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

    .tablepress-id-1 tbody td {
    font-family: Helvetica;
    font-size: 18px;
    }

    .tablepress-id-1 tbody td,
    .tablepress-id-1 thead th {
    text-align: left;
    }

    .tablepress-id-1 .row-1 td {
    text-align: left;
    }

    The page in question is http://lgshomes.net.sktdev.com/home-plans/

    Any help would be appreciated.

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m confused… The text in that table is aligned to the left. You’ll probably just want to reduce the width of the first column:

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

    Regards,
    Tobias

    Thread Starter tomt333

    (@tomt333)

    ah…i tried everything except that….sorry to bother you with such a simple thing

    one last thing….if i want my text aligned to the middle of the pdf icon, how would i go about that?

    thanks again….

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem 🙂

    That should be possible by extend the font CSS that you already have to

    .tablepress-id-1 tbody td {
      font-family: Helvetica;
      font-size: 18px;
      vertical-align: middle;
    }

    Regards,
    Tobias

    Thread Starter tomt333

    (@tomt333)

    perfect….thank you so much!

    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 5 replies - 1 through 5 (of 5 total)

The topic ‘Text Alignment’ is closed to new replies.