• Resolved yaboariel

    (@yaboariel)


    Hi there, I am having trouble with the header alignment. When I disable the header for first row, the first row aligns with the rest of the table, but when I enable that option, the first row looks weird. I tried to center all the cells to look nicer, but the <center> tag doesnt work when this option(first row as header) is enabled.

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

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This might be caused by the Horizontal Scrolling feature which sometimes can’t determine the widths correctly. Can you therefore please try again after turning off the “Horizontal Scrolling” checkbox on the “Edit” screen of the page?

    To center the cells, instead of adding extra HTML code, I suggest to try some “Custom CSS” code (on the “Plugin Options” screen of TablePress) like

    .tablepress-id-123 thead th,
    .tablepress-id-123 tbody td {
      text-align: center;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Header alignment’ is closed to new replies.