• Is there a possibility to set in the custom CSS a few line for 25 tabels with the same width setting. Now i have for each table this code :

    [CSS moderated as per the Forum Rules. Please post a link to your site instead.]

    Is there an easy way to set this code for multiple table ID’s. Otehrwise i have a long CSS

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you can combine the CSS by combining the selectors of all commands that are the same.
    (I can’t see your actual CSS as it was edited my a moderator, so I made up the following example.)

    You can shorten this:

    .wp-table-reloaded-id-2 .column-2 {
      width: 100px;
    }
    
    .wp-table-reloaded-id-2 .column-4 {
      width: 100px;
    }
    
    .wp-table-reloaded-id-3 .column-1 {
      width: 100px;
    }
    
    .wp-table-reloaded-id-3 .column-2 {
      width: 100px;
    }

    to this:

    .wp-table-reloaded-id-2 .column-2, .wp-table-reloaded-id-2 .column-4, .wp-table-reloaded-id-1 .column-1, .wp-table-reloaded-id-3 .column-2 {
      width: 100px;
    }

    Both have the same meaning and effect, but the second is much shorter.

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-Table Reloaded] multiple tables with same settings’ is closed to new replies.