• Resolved ma3ry

    (@ma3ry)


    I need many tables on my website. The plugin options for several of them are the same. Currently I’m duplicating everything for every table. Is there a way to code it so that I can just enter it once but include several tables.

    How do I code the following to include tables id-12, id-13 and id-14,

    .tablepress-id-11 .tablepress-id-11 tr,
    .tablepress-id-11 td {
    font-size: 11px;
    text-align: center;
    }

    .tablepress-id-11 .column-2 {
    width: 50px;
    }

    .tablepress-id-11 .column-3 {
    width: 50px;
    }

    .tablepress-id-11 .column-4 {
    width: 50px;
    }

    .tablepress-id-11 .column-5 {
    width: 50px;
    }

    .tablepress-id-11 .column-6 {
    width: 50px;
    }

    .tablepress-id-11 .column-7 {
    width: 50px;
    }

    .tablepress-id-11 .column-8 {
    width: 50px;
    }

    .tablepress-id-11 .column-9 {
    width: 75px;
    }

    .tablepress-id-11 .column-10 {
    width: 75px;
    }

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I asked a similar question a couple days ago. It was titled “Color Schemes”. I wanted to use different color schemes and used the info from Tobias reply. So now I have a couple of color schemes and another type for one column tables that I’m putting in a sidebar. After creating the css in the plugin option just need add the class into the “Extra CSS classes” textfield of the tables.

    https://www.ads-software.com/support/topic/extra-css-classes?replies=6

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Mary,

    thanks for your post, and sorry for the trouble.

    Yes, the approach that learningwp256 linked to (thanks for that!) is indeed the best one here.
    Basically all tables that have the same structure (regarding number of columns and their widths) could get their own “Extra CSS class” that you could then use to shorten the “Custom CSS”.

    Regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Options for Multiple Tables’ is closed to new replies.