• Resolved olivier2

    (@olivier2)


    1536/5000
    modify a table differently from another

    Hello
    I just created a new table and when I add the additional code of my other table, it changes me well, but I lose the settings made on the other
    Below the additional settings on my first table, on my second table I add the same css codes by changing the ID by that of the new table which is [table id = 16 /] is by doing this manipulation it changes me the IDs of the css codes from the other array by removing the wrapper
    Why ?

    How to add css codes to multiple tables at the same time, array that does not have the same ID?

    Thank you in advance for your help and your answers
    Olivier B

    .tablepress-id-10 .column-1 {
    width: 120px;
    height: auto;
    }

    .tablepress-id-10 .column-2 {
    width: 100px;
    height: auto;
    }

    .tablepress-id-10 .row-hover tr: hover td {
    background-color: # ff0000;
    }

    .tablepress-id-12 thead th,
    .tablepress-id-12 tbody td {
    border: 2px solid # 000000! important;
    }

    .tablepress-id-12 .row-1 td {
    background-color: # 808080;
    }

    .tablepress-id-12 .row-13 td {
    background-color: # 808080;
    }

    .tablepress-id-12 .row-17 td {
    background-color: # 808080;
    }

    .tablepress-id-12 .column-1 {
    width: 120px;
    height: auto;
    }

    .tablepress-id-12 .column-3 {
    width: 40px;
    height: auto;
    }

    .tablepress-id-12 .column-2 {
    width: 60px;
    height: auto;
    }

    .tablepress-id-12 .column-4 {
    width: 10px;
    height: auto;
    }

    .tablepress-id-12 .column-5 {
    width: 90px;
    height: auto;
    }

    .tablepress-id-12 .column-6 {
    width: 50px;
    height: auto;
    }

    .tablepress-id-12 .row-hover tr: hover td {
    background-color: # ff0000;
    }

    • This topic was modified 5 years, 3 months ago by olivier2.
    • This topic was modified 5 years, 3 months ago by olivier2.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. If you paste this full CSS code into the “Custom CSS” text field on the “Plugin Options” screen, it should modify both tables 10 and 12.

    Regards,
    Tobias

    Thread Starter olivier2

    (@olivier2)

    Bonjour Tobias
    Normalement oui, mais quand je colle le code css dans le tableau ID 16, il m’efface la mise en page de mon tableau ID 12, et quand je regarde dans les options de mon tableau ID 12, je me retrouve avec les ID 16 de l’autre tableau.

    C’est vraiment bizarre

    POurquoi ?

    je vous remercie d’avancepour votre aide et pour vos réponses

    PS : j’ai préparé des captures d’écran, pour vous montrez, mais je ne peux les joindre ?

    Cordialemnt
    Olivier B

    Thread Starter olivier2

    (@olivier2)

    Hello Tobias
    That’s it I finally understood what did not work, I got there, I changed the ID number corresponding to the other table instead of sticking below the personalized css corresponding to the table that I had to do and who has the same skin, but a different ID
    Thank you for responding quickly to my request
    Have a good day
    cordially
    Olivier B

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Modification d’en tableau’ is closed to new replies.