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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    With “Custom CSS”:

    .tablepress-id-123 .row-2 .column-2 {
      text-align: center;
    }

    Regards,
    Tobias

    Hi Tobias,
    Sorry to jump in on this reply, but I have been trying this all day for both column and row alignment. (please excuse the basic nature of my website!)
    http://campinghireadelaide.com.au/equipment-list/

    I’m trying to:
    1. Centre the text for each section heading (i.e. Row 2). I have colspan all other cells in the row but cant seem to centre the text in the now merged cell.
    2. Centre the text for the entire columns 3, 4, 5 & 6.

    Also, was trying to make the whole table background white, but I think the Zues theme is taking over with the zebra.

    I’m also giving the Responsive Tables plugin a go, not sure its working well for my mobile version yet… but i’ll get there!

    Thanks
    Ashley

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Ashley,

    To achieve this, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 .column-1[colspan],
    .tablepress-id-1 .column-3,
    .tablepress-id-1 .column-4,
    .tablepress-id-1 .column-5,
    .tablepress-id-1 .column-6 {
      text-align: center;
    }

    Regards,
    Tobias

    Perfect! Thank you.
    Any idea on the background colour all white?

    Regards,
    Ashley

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ah, sorry, forgot to reply to that part of the question.

    Please add this to the “Custom CSS” as well:

    
    table.tablepress tr td {
        background-color: #ffffff;
    }

    Regards,
    Tobias

    Thread Starter Intertip

    (@intertip)

    TobiasBg, thank you very much for the help!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem, you are very welcome!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

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