• Resolved maf231

    (@maf231)


    Hi,

    I have inserted a table using table press. On the existing theme I was using it was fine, but now with the theme that I have (minimaze) it is not laying out properly (columns too wide). I have tried changing the padding, removing the padding, border etc. and nothing is working.

    My site is still in development, but trying to get it launched today so any help that can be provided would be so appreciated.

    Thanks,

    Michele

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter maf231

    (@maf231)

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! You are affected by a small styling conflict with your theme. It basically uses CSS classes that TablePress also uses (for other things), and that clashes.

    Now, I have added a fix for this in the upcoming TablePress 1.5 (which might actually come out tonight :-). You could either wait for that and update then, or grab the current TablePress 1.5-beta from https://tablepress.org/upcoming-tablepress-1-5/ (it’s pretty much identical with the final version) to benefit from this change now already.

    Regards,
    Tobias

    Thread Starter maf231

    (@maf231)

    Ok thanks. Do I deactivate the existing TablePress plugin first? I tried to upload it and it wouldn’t accept it as it already exists…just making sure, don’t want to “break” what I’ve already got!!

    Michele

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Michele,

    yes, you’d have to deactivate TablePress first and then also delete it (there will be a link for that after deactivating it). After that, you can upload the new version.
    And no worries about losing data. The tables will be kept in the database.

    Regards,
    Tobias

    Thread Starter maf231

    (@maf231)

    Ok so that solved most of the problems as far as it all laying correctly on the same line, except that the column sizes are still out of whack:) Column 3 should be the largest, column 1 the second largest & 2 could probably be the smallest.

    If you could tell me what to adjust it to or resend me the code (sorry I don’t remember where I found it before and what to use) I would really appreciate it.

    Many thanks,

    Michele

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Michele,

    that’s great so far! ??
    Now, you can set the column widths with some CSS. For an example, please see https://tablepress.org/faq/column-widths/

    Regards,
    Tobias

    Thread Starter maf231

    (@maf231)

    Perfect!!

    Thanks so much for all your help, much appreciated!

    Michele

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

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

    Hello Tobias

    Thanks for your great plug in. I am a soccer fan and I am running my own site

    https://www.dtigres.com

    I have tried to use tables on side bars or even on posts and sometimes the size goes over the frame of the page.

    I have tried to re size columns and padding with no luck.

    Please take a look here https://www.dtigres.com/estadisticas
    The first table is just to show the actual standing on the teams and it goes to all the size of the page. How can I make it smaller so I can fit ore tables on a same page?

    Thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I don’t see a TablePress table in that particular link, but found some on other pages, where they extend into the sidebar. The reason basically is that you simply have too much content in them for it to fit.
    You could reduce the padding with some “Custom CSS” like

    .tablepress th {
      padding: 4px 18px 4px 18px !important;
    }
    .tablepress td {
      padding: 4px;
    }

    but that won’t really help.
    You have to look into either reducing the font size with something like

    .tablepress-id-123 td,
    .tablepress-id-123 th {
      font-size: 10px;
    }

    (where 123 is the table ID), or removing columns from the table.
    In their current state, the tables simply have too much data to fit.

    Regards,
    Tobias

    Thanks

    I will give it a try but
    this link please

    the first table uses all the width of the page, how do I reduce that?

    Thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link. For that table, you could tell the browser to not stretch the table to the full width, with “Custom CSS” like this:

    .entry-content .tablepress-id-123 {
    	width: auto;
    }

    (123 has to be changed to the table ID again.)
    Regards,
    Tobias

    Like a BOSS

    Thanks it did reduced the size I guess now I can controll and reduce each column to fit what I want

    I do appreciate your knowledge.

    Thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!
    Yes, you can now start changing the widths of the individual columns.

    Best wishes,
    Tobias

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Tablepress columns too wide on an imported (xlsx) table’ is closed to new replies.