• Resolved MarkFL

    (@markfl)


    Hi Tobius, I’m having a styling issue after someone deleted my table! I’m trying to recreate what we had but can’t seem to move the columns using the css code I’m adding in ‘Plugin Options’. The code I’m using is:

    .tablepress-id-99 .column-6 {
    	width: 20%;
    }

    I’ve done this for 6 columns and the %’s add up to 100%. Any ideas?

    https://wordpress.org/plugins/tablepress/

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.

    Setting widths is strongly dependent on the contents of the columns. For example, you can not make a column smaller than what the content in it requires.
    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

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi again,

    please also note, that the CSS code for the now deleted table should still exist. Deleting tables does not remove the CSS that belongs to that table. Maybe you can still find and reuse that? It might even be sufficient to change the table ID of the newly created table to that of the deleted table (if you still know that ID).

    Regards,
    Tobias

    Thread Starter MarkFL

    (@markfl)

    Thanks Tobias, you can see the issue here: http://regentclassicorgans.com/past-commissions/. It did look like this: https://web.archive.org/web/20150125062751/http://regentclassicorgans.com/past-commissions/. Unfortunately the relevant css also got deleted!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    the page from the Wayback machine is actually not showing a table for this. It seems like the same feature was achieved in a different way there.

    Now, from what I can see, your table now has about 45 extra columns that are empty. Those should be deleted, as they influence the styling and layout.

    Regards,
    Tobias

    Thread Starter MarkFL

    (@markfl)

    Thanks Tobias, got to the bottom of it – it wasn’t done with tablepress originally!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, that’s what I meant. 🙂

    Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Styling Issue’ is closed to new replies.