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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is some CSS code in the new theme. To fix that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress [class*="column"] + [class*="column"]:last-child {
      float: none;
    }

    The problem with the centering is most likely caused by the theme as well, but that’s not a good approach here anyway. Instead, you should use “Custom CSS” as well, e.g.

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

    Just change the table ID as necessary.

    Regards,
    Tobias

    Thread Starter thegroomingtable

    (@thegroomingtable)

    I should be thanking you and apologizing for your trouble isn’t it? hahah! Thanks by the way, it worked! To us noobs you guys are magicians! Making technology work effortlessly.. I can’t imagine how much time and effort one has to put in..

    But I gotta trouble you again. What I meant was that I wanted to text align center the “table name” rather than the table head..

    Tried my luck by changing

    .tablepress-id-1 thead th {
    text-align: center;
    }

    to

    .tablepress-id-1 tablepress-table-name th {
    text-align: center;
    }

    educated guess but no luck.. haha!pardon me, i have absolutely no programming exp..

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great to hear that this helped! ??

    And for centering the table name, the code is even easier, than what you tried ??

    .tablepress-table-name-id-1 {
      text-align: center;
    }

    Regards,
    Tobias

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    Great to see that this fixed the problem! ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Thread Starter thegroomingtable

    (@thegroomingtable)

    You’ve been a great help Tobias! Please continue your great work!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! And I will certainly try that ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘table messed up after theme change’ is closed to new replies.