• Resolved aeroman

    (@aeroman)


    Hi Tobias,

    I have several questions about CSS styling.

    I am going to create several tables within wordpress and need to have separate styling for each individual table most of which has to do with column widths.

    I have checked your documentation and seen css styling for each column.

    Is there a way to style several column at once by giving column id ?

    If possible can you add a feature to style individual tables from the panel we create the table?

    Currently, i am stuck with column width styling as my tables have also #colspan in place and the width styling is not working.

    I also have a universal styling for these tables with “td:last-child”@100px to be strictly used on a 3 column table layout.In this particular table i want to override this styling. How can i achieve this ?

    Only the last column style is working but the first 2 column doesnt.

    It could be because of the #colspan ?

    No caching plugin used.

    Thanks!

    • This topic was modified 7 years, 9 months ago by aeroman.
    • This topic was modified 7 years, 9 months ago by aeroman.
Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To apply a command to multiple tables at once, you’d write the selectors in a comma-separated list, like:

    .tablepress-id-123 .column-2,
    .tablepress-id-123 .column-3,
    .tablepress-id-456 .column-1,
    .tablepress-id-456 .column-2 {
      ...
    }

    The #colspan# should not have an influence on the width CSS. For me to see more, 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

Viewing 1 replies (of 1 total)

The topic ‘CSS Styling Questions ??’ is closed to new replies.