Support » Plugin: TablePress » Tried all the text-align options, none work

  • Resolved dcelie

    (@dcelie)


    Hi Tobias,

    Thnx for the plugin. And nice to see your great support (all those years).

    I’ve searched trough all (most) topics, FAQ and docs. But all the suggestions in these topics do not work for the simple thing I would want in my table.

    If you look at the table on my website, you’ll see that the text is aligned center. I want the tbody aligned left and vertical align in de middle.

    So I’ve tried:

    .tablepress tbody td {
    text-align: left;
    vertical-align: middle;
    {

    .tablepress-id-1 .column-1 tbody {
    text-align: left;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-1 tbody td {
    text-align: left;
    vertical-align: middle;
    }

    And even more, but didn’t save all.

    Can you please help me?

    Grtz. Daphne

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    If you don’t want centering, why are you centering the table cells in your theme’s “Custom CSS”? I can see

    .tablepress .even td {
      text-align: center;
    }
    .tablepress .odd td { 
      text-align: center;
    }

    in the “Custom CSS” in Divi and therefore recommend to remove that.
    After that, the “Custom CSS” (in TablePress!)

    .tablepress tbody td {
      vertical-align: middle;
    }

    should work.

    Regards,
    Tobias

    So.. oke feel kinda stupid now.
    I’ve asked my webdesigner once to change the vertical alignment. But I didn’t know what he did, but I didn’t see anything changed.

    Thought I could beter do it myself. Not knowing he put code in the theme css.

    My excuses, didn’t want to waste your time. 😉

    tschuss!

    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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tried all the text-align options, none work’ is closed to new replies.