• Resolved toscal120

    (@toscal120)


    No matter how many codes you put in, it not takes effect to be able to center the text horizontally and vertically, the first one if it is centered and it appears in bold. I don’t get it.
    thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The first line is bold because it’s the table head row ?? Please uncheck the “Table Head” checkbox on the table’s “Edit” screen.

    To vertically center the text, please replace the CSS

    .tablepress-id-17 .column-1 {
    	padding: 70px 0;
    	text-align: center;
    }

    with

    .tablepress-id-17 .column-1 {
    	vertical-align: middle;
    	text-align: center;
    }

    Regards,
    Tobias

    Thread Starter toscal120

    (@toscal120)

    thanks, it works like a charm.

    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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t center text horizontally and vertically’ is closed to new replies.