• Resolved jbre

    (@jbre)


    In the previous version of TablePress, I was able to customize the padding of the cells so the table width changed and was within the template borders. And this worked even with the Javascript turned on.

    But since I updated to the most current version of TablePress, there is a forced cell width of 30px that is showing up as an inline styling that I can’t do anything about UNLESS I turn off the Javascript so viewers cannot sort the table.

    Of course, my user is disappointed and wants it sortable and wants it to fit – like it did with the previous version – if that’s possible.

    Here’s the page with the tables that now pop out:
    http://ecampus.boisestate.edu/courses/

    Here is the debug info you request.
    · Website: https://ecampus.boisestate.edu
    · TablePress: 1.0
    · TablePress (DB): 18
    · TablePress table scheme: 3
    · Plugin installed: 2013/03/28 13:01:31
    · WordPress: 3.5.1
    · Multisite: yes
    · PHP: 5.3.14
    · mySQL (Server): 5.1.69-log
    · mySQL (Client): 5.1.69
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 64M
    · Server Memory Limit: 256M
    · Magic Quotes: off
    · WP_DEBUG: false

    Thank you for any help you can provide.

    http://ww.wp.xz.cn/extend/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 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 your theme, namely in the file “theme.css”.
    There’s a block

    .dataTables_wrapper table.tablepress thead th {
      background-color: #f0f1f2;
      padding: 10px 0px;
    }

    in there that changes the padding of the cells in the head row, and that leads to the large width of those cells, which again leads to the wide table width.
    If you remove that block, everything should be ok again.

    Regards,
    Tobias

    Thread Starter jbre

    (@jbre)

    Tobias,

    That worked perfectly! Thank you so much for your rapid response and the information about how to fix it.

    It is much appreciated.

    Regards,
    jbre

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    very nice! 🙂 And no problem, you are very welcome!
    Great to hear that this could be fixed so easily.

    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 ‘Inline Cell Width Styling in Newest TablePress Version Has Appeared’ is closed to new replies.