WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Centering text and colspan (4 posts)

  1. jonhiogs
    Member
    Posted 10 months ago #

    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/

  2. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    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

  3. jonhiogs
    Member
    Posted 10 months ago #

    Thanks for this

    I'd missed out the 'td' bit

    Great support again

    Thank you!

  4. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    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!

Reply

You must log in to post.

About this Plugin

About this Topic