• Resolved Essie

    (@de-webconnectie)


    Hi Tobias,

    First I would like to thank for your wonderfull plugin!

    I want to make different tables with different css and I think I’m getting somwhere. But, I can’t seem to change the css for the wrapper for one specific table. This is the css I’ve used:

    .competitie.tablepress tfoot th,
    .competitie.tablepress thead th {
    background-color: #c5ca46;
    }

    .competitie.entry-content tr th,
    .competitie.entry-content thead th {
    color: rgba(254,254,254,1);
    }

    .competitie.tablepress .odd td {
    background-color: rgba(196,201,70,0.15);
    }

    .competitie.dataTables_wrapper label input,
    .competitie.dataTables_wrapper label select {
    margin-bottom: 5px !important;
    padding: 7px !important;
    border-radius: 5px !important;
    border: 1px solid #c5ca46 !important;
    }

    The bold css is what doesn’t change. Url is:https://www.dewebzandbak.nl/competitie/

    I would like to adjust the wrapper style with each table (there will be more). How can I do that?

    Thanks!

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    .competitie is a CSS class on the table, and not the wrapper around the table, therefore you can’t use it like that.

    Can you try just

    .dataTables_wrapper label input,

    etc. ?

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘some css cannot be changed?’ is closed to new replies.