• Resolved jonhiogs

    (@jonhiogs)


    I have a 3 column table

    On row 8 of table I have used colspan to make one cell spanning all 3 columns.

    I want to centre text in the middle of that full table width cellcell and am having trouble finding correct way

    Many thanks

    Jon

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This should be pretty easy with some “Custom CSS” (to be entered on the “Plugin Options” screen), like

    .tablepress-id-123 .row-8 td {
      text-align: center;
    }

    where you change the 123 to your table’s ID.

    Regards,
    Tobias

    Thread Starter jonhiogs

    (@jonhiogs)

    Thanks for this

    I’d missed out the ‘td’ bit

    Great support again

    Thank you!

    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 ‘Centering text and colspan’ is closed to new replies.