Support » Plugin: TablePress » Strange width topic

  • Resolved VerzameldNieuws2016

    (@verzameldnieuws2016)


    Hi guys, I have installed Tablepress, newest version of WP, checked former questions, but did not see an answer to this topic: the width of the table seems to be okay (full width, searchbox and ‘former/next’ are at the right side, but the content of the columns is fixed to a much smaller width, see link. I tried a lot of settings, but did not succeed. Hope anyone can help me soon… Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I’m not exactly sure what you mean. When I view that page from the link, the widths seem to be okay for me.
    Can you post a link to a screenshot of what you are seeing?

    Regards,
    Tobias

    Thread Starter VerzameldNieuws2016

    (@verzameldnieuws2016)

    Hi Tobias, you are quick. Meanwhile I managed bij coding css as I saw in an earlier post here. I was just wanting to tell you this. But I could make a screenshot of the former problem.But how do I send you that?

    .tablepress thead th,
    .tablepress tbody td {
    padding: 12px !important;
    }

    .page-id-2913 .tablepress .column-1 {
    width: 50%;
    }

    .page-id-2913 .tablepress .column-2 {
    width: 10%;
    }

    .page-id-2913 .tablepress .column-3 {
    width: 20%;
    }

    .page-id-2913 .tablepress .column-4 {
    width: 20%;
    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that it’s working now! But please also try adding this to the top of your “Custom CSS” to really fix this:

    .dataTables_wrapper .tablepress {
      width: 100% !important;
    }

    Regards,
    Tobias

    Thread Starter VerzameldNieuws2016

    (@verzameldnieuws2016)

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! Yes, then that piece of CSS code from my previous post should fix this 🙂

    Regards,
    Tobias

    Thread Starter VerzameldNieuws2016

    (@verzameldnieuws2016)

    Thanks Tobias, great work. Maybe good to put that css code standard in it?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the code is only necessary in rare circumstances, that’s why I don’t really want to put it in as a standard, as it might change the look of existing tables for some people.

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Strange width topic’ is closed to new replies.