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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That’s because centering needs to be done for the actual cell and not for the <span> element in it. For the first row, you are actually already doing that.
    So, you could actually change your code to

    .tablepress-id-55 .row-1 .column-1 .hilite {
      font-size: 42px;
      color: #ff0000;
    }
    
    .tablepress-id-55 .row-2 .column-1 .hilite {
      font-size: 32px;
      color: #ff0000;
    }
    
    .tablepress-id-55 .row-2 .column-1 {
      text-align: center;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Table code not working’ is closed to new replies.